#ifndef __DRV_TCP_H_ #define __DRV_TCP_H_ #include #include #include #include #include #include #include #include #include void getInterfacesAndIPs(char *interfaces[], char *ips[], int *numInterfaces); void closeAndFree(int server_fd, int new_socket, char *interface, char *ip); void *tcpServeThread(void *arg); void tcpServe(int port); #endif