socket.h 223 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 #ifndef __SOCKET_H__ #define __SOCKET_H__ #include <arpa/inet.h> /* for in_port_t */ int initServerSocket(in_port_t port, int backlog); int acceptConnection(int servSock, char remoteAddr[16]); #endif /* __SOCKET_H__ */