#include <ros/console.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <ifaddrs.h>
#include <netinet/ip.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | collect_replies (fd_set *master_set, int maxfd) |
int | get_local_port (int fd) |
void | get_response (int fd) |
int | main () |
int | receive_socket () |
int | send_query (struct ifaddrs *iface, int srcport) |
int collect_replies | ( | fd_set * | master_set, | |
int | maxfd | |||
) |
Definition at line 130 of file find_camera.cpp.
int get_local_port | ( | int | fd | ) |
Definition at line 163 of file find_camera.cpp.
void get_response | ( | int | fd | ) |
Definition at line 125 of file find_camera.cpp.
int main | ( | ) |
Definition at line 177 of file find_camera.cpp.
int receive_socket | ( | ) |
Definition at line 45 of file find_camera.cpp.
int send_query | ( | struct ifaddrs * | iface, | |
int | srcport | |||
) |
Definition at line 72 of file find_camera.cpp.