sockets Namespace Reference

Namespace of the sockets classes. More...


Classes

class  Buffer
 Base class for buffers. More...
class  DBuffer
 Dynamic buffer class. More...
class  IPSocket
 Base class for all IP sockets. More...
class  Monitor
 Base class for monitors. More...
class  SBuffer
 Static buffer class. More...
class  Socket
 Base class for all sockets. More...
class  X509StoreContext
 X509_STORE_CTX utility class. More...
class  SSLContext
 SSL context class. More...
class  SSLInfo
 SSL encapsulation. More...
class  TCPClient
 TCP client class. More...
class  TCPSocket
 TCP socket class. More...

Typedefs

typedef
containers::VectorSP
< Monitor *, size_t > 
monitors_list

Functions

void setup_monitors (size_t hint)
 Sets monitors up.
void do_events (time_t wait)
 Does events.

Variables

monitors_list monitors
Monitordefault_monitor


Function Documentation

void sockets::do_events ( time_t  wait  ) 

This function, which must be called by the core in its main loop, checks for events on all sockets that need to be monitored.

Parameters:
[in] wait The number of milliseconds to wait for events on sockets, or 0 if no waiting must be done.

void sockets::setup_monitors ( size_t  hint  ) 

This function, which must be called by the core at program startup, registers and configures all usable monitors.

Parameters:
[in] hint The number of sockets that is estimated to be in concurrent use at a given time. This is only a hint, not the maximum number that will be allowed.


Generated on Fri Apr 18 22:03:29 2008 for Epona API by  doxygen 1.5.3