Go to the documentation of this file. 37 #ifndef RTPSOCKETUTILINTERNAL_H 39 #define RTPSOCKETUTILINTERNAL_H 41 #ifdef RTP_SOCKETTYPE_WINSOCK 42 #define RTPSOCKERR INVALID_SOCKET 43 #define RTPCLOSE(x) closesocket(x) 44 #define RTPSOCKLENTYPE int 45 #define RTPIOCTL ioctlsocket 47 #include <sys/socket.h> 48 #include <netinet/in.h> 49 #include <arpa/inet.h> 50 #include <sys/ioctl.h> 56 #ifdef RTP_HAVE_SYS_FILIO 57 #include <sys/filio.h> 58 #endif // RTP_HAVE_SYS_FILIO 59 #ifdef RTP_HAVE_SYS_SOCKIO 60 #include <sys/sockio.h> 61 #endif // RTP_HAVE_SYS_SOCKIO 62 #ifdef RTP_SUPPORT_IFADDRS 64 #endif // RTP_SUPPORT_IFADDRS 67 #define RTPCLOSE(x) close(x) 69 #ifdef RTP_SOCKLENTYPE_UINT 70 #define RTPSOCKLENTYPE unsigned int 72 #define RTPSOCKLENTYPE int 73 #endif // RTP_SOCKLENTYPE_UINT 75 #define RTPIOCTL ioctl 76 #endif // RTP_SOCKETTYPE_WINSOCK 78 #endif // RTPSOCKETUTILINTERNAL_H