A Server side TCPNetworkPlugin. More...
#include <tcp.h>
Public Member Functions | |
bool | CreateUDPNotifier (void) |
bool | CreateListenSocket (void) |
virtual bool | Start (INetService *pNetService, const wxXmlNode *pConfig) |
virtual bool | Stop (void) |
virtual void | OnUDPServerEvent (wxSocketEvent &event) |
virtual void | OnTCPServerEvent (wxSocketEvent &event) |
bool | CreateUDPNotifier (void) |
bool | CreateListenSocket (void) |
virtual bool | Start (INetworkService *pNetService, wxXmlNode *pConfig) |
virtual bool | Stop (void) |
virtual void | OnUDPServerEvent (wxSocketEvent &event) |
virtual void | OnTCPServerEvent (wxSocketEvent &event) |
Public Member Functions inherited from INetworkPlugin | |
virtual bool | Start (wxGISNetworkService *pNetService, wxXmlNode *pConfig)=0 |
Protected Attributes | |
int | m_nPort |
int | m_nAdvPort |
wxString | m_sAddr |
INetService * | m_pNetService |
wxDatagramSocket * | m_udp_socket |
wxSocketServer * | m_listeningSocket |
INetworkService * | m_pNetService |