Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 8 | ||
|---|---|---|---|
| Line 20... | Line 20... | ||
| 20 | #include <netdb.h> // for getaddrinfo() and freeaddrinfo() | 
            20 | #include <netdb.h> // for getaddrinfo() and freeaddrinfo() | 
          
| 21 | #include <sys/ioctl.h> | 
            21 | #include <sys/ioctl.h> | 
          
| 22 | #include <sys/socket.h> | 
            22 | #include <sys/socket.h> | 
          
| 23 | #include <sys/types.h> | 
            23 | #include <sys/types.h> | 
          
| 24 | #include <unistd.h> // for close() | 
            24 | #include <unistd.h> // for close() | 
          
| - | 25 | #include <netinet/in.h> // Pierre-Marie Baty -- POSIX location of struct sockaddr_in | 
          |
| 25 | 26 | ||
| 26 | #define closesocket(x) close(x) | 
            27 | #define closesocket(x) close(x) | 
          
| 27 | #define WSAEISCONN EISCONN | 
            28 | #define WSAEISCONN EISCONN | 
          
| 28 | #define WSAEINPROGRESS EINPROGRESS | 
            29 | #define WSAEINPROGRESS EINPROGRESS | 
          
| 29 | #define WSAEALREADY EALREADY | 
            30 | #define WSAEALREADY EALREADY |