void Accept(void (*Servlet)(const Socket&
SocketServer (class)
Constructors:
SocketServer(int port, ENetwork Network=eIPv4, int QLen=15);
SocketServer(HostAddress& Addr, int QLen=15);
General Description: TCP server.
Parent Class: SocketStream
Methods
Client)); Accept a connection and call Servlet with Socket handle.void Accept(HostAddress& Addr,
void (*Server)(const Socket& Client)); Accept connection & capture host ID.
Exceptions Thrown
Exception, NetConnectException,