15 class DtInetSocketMgr;
18 struct DtNetPduHeader;
33 virtual void tick()
override;
46 DtInetBufferChain& buffChain,
47 DtInetEndpoint& ep,
void* usr);
virtual bool sendPacketOnNetwork(char *buffer, size_t length) override
Sends the given buffer packet on the network.
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
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 void tick() override
Tick the socket manager to see about connections.
virtual bool hasNetworkConnection() const override
Return true if the TCP network is active.
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.
virtual ~DtServerEventManagerTCP() override
DTOR.