Pol  Revision:cb584c9
sockets.h File Reference
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>

Go to the source code of this file.

Macros

#define INVALID_SOCKET   ( SOCKET )( -1 )
 
#define SOCKET_ERRNO(x)   x
 
#define socket_errno   errno
 

Typedefs

typedef int SOCKET
 

Detailed Description

History

Definition in file sockets.h.

Macro Definition Documentation

#define INVALID_SOCKET   ( SOCKET )( -1 )

Definition at line 34 of file sockets.h.

#define SOCKET_ERRNO (   x)    x

Definition at line 32 of file sockets.h.

#define socket_errno   errno

Definition at line 33 of file sockets.h.

Typedef Documentation

typedef int SOCKET

Definition at line 19 of file sockets.h.