3 /*=========================================================================*\
4 * Socket compatibilization module for Unix
6 \*=========================================================================*/
8 /*=========================================================================*\
10 \*=========================================================================*/
15 /* fnctnl function and associated constants */
18 #include <sys/types.h>
20 #include <sys/socket.h>
23 /* gethostbyname and gethostbyaddr functions */
25 /* sigpipe handling */
28 #include <netinet/in.h>
29 #include <arpa/inet.h>
30 /* TCP options (nagle algorithm disable) */
31 #include <netinet/tcp.h>
34 #define SO_REUSEPORT SO_REUSEADDR
38 typedef t_socket
*p_socket
;
39 typedef struct sockaddr_storage t_sockaddr_storage
;
41 #define SOCKET_INVALID (-1)
43 #endif /* USOCKET_H */