Go to the documentation of this file.
24 #if defined(__WIN32__) || defined(_WIN32) || defined(_WIN32_WCE)
26 #if defined(WINNT) || defined(_WINNT) || defined(__BORLANDC__) || defined(__MINGW32__) || defined(_WIN32_WCE) || defined (_MSC_VER)
35 #define closeSocket closesocket
48 #define EWOULDBLOCK WSAEWOULDBLOCK
49 #define EINPROGRESS WSAEWOULDBLOCK
50 #define EAGAIN WSAEWOULDBLOCK
51 #define EINTR WSAEINTR
53 #if defined(_WIN32_WCE)
54 #define NO_STRSTREAM 1
58 typedef __int64 int64_t;
59 typedef unsigned __int64 u_int64_t;
62 typedef unsigned u_int32_t;
64 typedef short int16_t;
65 typedef unsigned short u_int16_t;
67 typedef unsigned char u_int8_t;
71 #if !defined(_MSC_STDINT_H_) && !defined(_UINTPTR_T_DEFINED) && !defined(_UINTPTR_T_DECLARED) && !defined(_UINTPTR_T)
72 typedef unsigned uintptr_t;
74 #if !defined(_MSC_STDINT_H_) && !defined(_INTPTR_T_DEFINED) && !defined(_INTPTR_T_DECLARED) && !defined(_INTPTR_T)
78 #elif defined(VXWORKS)
82 #include <sys/times.h>
85 #include <resolvLib.h>
88 typedef unsigned int u_int32_t;
89 typedef unsigned short u_int16_t;
90 typedef unsigned char u_int8_t;
94 #include <sys/types.h>
95 #include <sys/socket.h>
97 #include <netinet/in.h>
98 #include <arpa/inet.h>
108 #include <sys/select.h>
112 #define closeSocket close
115 #define u_int64_t uint64_t
116 #define u_int32_t uint32_t
117 #define u_int16_t uint16_t
118 #define u_int8_t uint8_t
123 #define SOCKLEN_T int