15 class DtInetSocketMgr;
18 struct DtNetPduHeader;
49 DtInetBufferChain& buffChain,
50 DtInetEndpoint& ep,
void* usr);
virtual void installExerciseConnectionCallbacks()
Override to remove data interaction callback.
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:56
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: eventManager.h:23
Definition: eventManagerTCP.h:26
static int receivedInteractionCallback(DtInetSocket *sock, int size, DtInetBufferChain &buffChain, DtInetEndpoint &ep, void *usr)
Definition: serverEventManagerTCP.h:20
std::set< DtInetSocket * > mySockets
Definition: serverEventManagerTCP.h:57
virtual bool processSocketConnected(DtInetSocket *sock)
DtServerEventManagerTCP()
CTOR.