Sockets
[Network]

Classes

class  PooledSocketSet
 Creates 64 SocketSets, each with its own thread -- performance should be close to windows IO completion ports. More...
class  PooledSocketServer
 Listens on a port and adds incomming connections to a PooledSocketSet. More...
class  IPortListenerListener
 Callback interface for socket accept events. More...
class  PortListenerDelegateDispatch
 Delegate dispatcher for socket accept events. More...
class  PortListener
 Creates a thread and listens for connections on a port. More...
class  ServerSocket
 Specialized socket for accepting connections. Socket TcpSocket. More...
class  Socket
 Base socket type, you probably want to use TcpSocket or ServerSocket instead. TcpSocket ServerSocket. More...
class  ISocketService
 Base class for SocketSet and PooledSocketSet. More...
class  SocketListenerPair
 used by SocketSet to track socket listners (internal). More...
class  SocketSet
 A threaded select() IO dispatcher. More...
class  IServerConnectionFactory
class  SocketSetServer
 Accepts connections at a port and automatically adds them to the SocketSet. More...
class  TcpSocket
 Ordinary connection oriented socket. More...
class  UdpSocket
 Packet oriented socket. More...

Defines

#define SOCKBUF_SIZE   1024

Typedefs

typedef RefCountPtr< ServerSocketServerSocketPtr
typedef RefCountPtr< SocketSocketPtr
typedef WeakReference< Socket,
SocketPtr
SocketRef
typedef RefCountPtr< SocketSetSocketSetPtr
typedef RefCountPtr
< IServerConnectionFactory
IServerConnectionFactoryPtr
typedef RefCountPtr
< SocketSetServer
SocketSetServerPtr
typedef RefCountPtr< TcpSocketTcpSocketPtr
typedef WeakReference
< TcpSocket, TcpSocketPtr
TcpSocketRef
typedef RefCountPtr< UdpSocketUdpSocketPtr
typedef WeakReference
< UdpSocket, UdpSocketPtr
UdpSocketRef

Functions

 REGISTER_TYPEOF (34, PooledSocketSet)
 REGISTER_TYPEOF (36, PooledSocketServer)
 REGISTER_TYPEOF (38, IPortListenerListener)
 REGISTER_TYPEOF (40, PortListenerDelegateDispatch)
 REGISTER_TYPEOF (42, PortListener)
 REGISTER_TYPEOF (44, ServerSocketPtr)
 REGISTER_TYPEOF (46, ServerSocket)
 REGISTER_TYPEOF (48, SocketPtr)
 REGISTER_TYPEOF (474, SocketRef)
 REGISTER_TYPEOF (50, Socket)
void ValidateType (ISocketService *iss)
void ValidateType (const ISocketService &iss)
 REGISTER_TYPEOF (52, ISocketService)
 REGISTER_TYPEOF (54, SocketListenerPair)
void ValidateType (SocketListenerPair *slp)
 REGISTER_TYPEOF (56, SocketSetPtr)
 REGISTER_TYPEOF (58, SocketSet)
void ValidateType (SocketSet *ss)
 REGISTER_TYPEOF (60, IServerConnectionFactoryPtr)
 REGISTER_TYPEOF (62, IServerConnectionFactory)
 REGISTER_TYPEOF (64, SocketSetServerPtr)
 REGISTER_TYPEOF (66, SocketSetServer)
 REGISTER_TYPEOF (68, TcpSocketPtr)
 REGISTER_TYPEOF (476, TcpSocketRef)
 REGISTER_TYPEOF (70, TcpSocket)
 REGISTER_TYPEOF (71, UdpSocket)