socket.hpp File Reference

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

Include dependency graph for socket.hpp:

This graph shows which files directly or indirectly include this file:


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 Documentation

typedef int SOCKET

Type for storing a socket handle.

Defined here because it does not exist in linux headers.


Function Documentation

const char* OSErrorString (  ) 

Return the OS last error message.


Variable Documentation

const SOCKET INVALID_SOCKET = -1

Socket handle representing an invalid socket.

const int SOCKET_ERROR = -1

Return code representing a socket error.


Generated on Sun Apr 5 20:28:17 2009 for EOServ by  doxygen 1.5.7.1