#include <string>#include <list>#include <stdint.h>#include <cstddef>#include <stdexcept>


Classes | |
| class | Socket_Exception |
| Generic Socket exception type. More... | |
| class | Socket_InitFailed |
| Exception thrown when intializing the socket library failed. More... | |
| class | Socket_BindFailed |
| Exception thrown when a call to bind() failed. More... | |
| class | Socket_ListenFailed |
| Exception thrown when a call to listen() failed. More... | |
| class | Socket_SelectFailed |
| Exception thrown when a call to select() failed. More... | |
| class | IPAddress |
| Stores an IP address and converts between string and numeric formats. More... | |
| class | Server< T > |
| Generic TCP server class. More... | |
| class | Client |
| Generic TCP client class. More... | |
Typedefs | |
| typedef int | SOCKET |
| Type for storing a socket handle. | |
Functions | |
| const char * | OSErrorString () |
| Return the OS last error message. | |
Variables | |
| const SOCKET | INVALID_SOCKET = -1 |
| Socket handle representing an invalid socket. | |
| const int | SOCKET_ERROR = -1 |
| Return code representing a socket error. | |
| typedef int SOCKET |
Type for storing a socket handle.
Defined here because it does not exist in linux headers.
| const char* OSErrorString | ( | ) |
Return the OS last error message.
| const SOCKET INVALID_SOCKET = -1 |
Socket handle representing an invalid socket.
| const int SOCKET_ERROR = -1 |
Return code representing a socket error.
1.5.7.1