15 class DtInetSocketMgr;
18 struct DtNetPduHeader;
46 DtInetBufferChain& buffChain,
47 DtInetEndpoint& ep,
void* usr);
virtual ~DtServerEventManagerTCP()
DTOR.
virtual bool hasNetworkConnection() const
Return true if the TCP network is active.
static bool socketConnectedCallback(DtInetSocket *sock, void *usr)
static DtEventManager * creator()
Static creator method.
voidpf void uLong size
Definition: ioapi.h:39
DtInetSocketMgr * mySocketMgr
Definition: serverEventManagerTCP.h:53
static bool socketRemovedCallback(DtInetSocket *sock, void *usr)
virtual bool processSocketRemoved(DtInetSocket *sock)
virtual bool sendPacketOnNetwork(char *buffer, size_t length)
Sends the given buffer packet on the network.
virtual void tick()
Tick the socket manager to see about connections.
Definition: eventManagerTCP.h:35
static int receivedInteractionCallback(DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
Definition: serverEventManagerTCP.h:20
std::set< DtInetSocket * > mySockets
Definition: serverEventManagerTCP.h:54
virtual bool processSocketConnected(DtInetSocket *sock)
DtServerEventManagerTCP()
CTOR.