Accepts connections at a port and automatically adds them to the SocketSet. More...
#include <SocketSet.h>
Public Member Functions | |
| SocketSetServer (IServerConnectionFactory *conFactory, int serverPort) | |
| virtual void | AddSocket (IStreamReadListenerPtr listener, TcpSocketPtr sp) |
| virtual void | Close () |
| virtual void | CloseAndDelete () |
| virtual int | SocketCount () const |
| virtual void | Broadcast (const Array< byte > &buf, const int len) |
| virtual void | Join (int timeoutms) |
| virtual void | Join () |
| virtual void | CheckMem () const |
| virtual void | ValidateMem () const |
Protected Member Functions | |
| virtual void | IPortListener_OnConnect (TcpSocketPtr sock) |
| virtual void | IPortListener_OnStop () |
Protected Attributes | |
| SocketSet | m_ss |
| PortListener | m_listener |
| IServerConnectionFactory * | m_conFactory |
Accepts connections at a port and automatically adds them to the SocketSet.
Definition at line 197 of file SocketSet.h.