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