Basic socket wrapper.
More...
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <fcntl.h>
#include "Socket.h"
#include <string>
Go to the source code of this file.
Defines |
|
#define | ERROR_WOULDBLOCK EWOULDBLOCK |
|
#define | ERROR_INPROGRESS EINPROGRESS |
|
#define | ERROR_TIMEDOUT ETIMEDOUT |
|
#define | closesocket close |
|
#define | ioctlsocket ioctl |
|
#define | GetLastSocketErrno() errno |
|
#define | handleEINTR(retval) (retval < 0 && errno == EINTR) |
|
#define | INVALID_SOCKET -1 |
Detailed Description
Basic socket wrapper.
- Version:
- 2.0
Definition in file Socket.cpp.