8 #include "../eventManagerTCPSim/eventManagerTCP.h"
38 virtual void tick()
override;
virtual void disconnect()
Call to disconnect from the network and start receiving exercise connection interactions again...
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
virtual bool sendPacketOnNetwork(char *buffer, size_t length) override
Sends the given buffer packet on the network.
DtClientEventManagerTCP()
CTOR.
virtual ~DtClientEventManagerTCP() override
DTOR.
Definition: eventManagerTCP.h:35
virtual void tick() override
Check to see if there is anything to receive.
virtual bool hasNetworkConnection() const override
Return true if the TCP network is active.
Definition: clientEventManagerTCP.h:33
DtInetTcpSocket * mySocket
Definition: clientEventManagerTCP.h:45
This class will open a TCP connection on a fixed port for local host only as an example of how to sen...
Definition: clientEventManagerTCP.h:15
virtual bool connect()
Call to connect to the TCP network and to stop receiving data interactions from the network...
static DtEventManager * creator()
Static creator method.