8 #include "../eventManagerTCPSim/eventManagerTCP.h"
virtual void disconnect()
Call to disconnect from the network and start receiving exercise connection interactions again...
DtClientEventManagerTCP()
CTOR.
virtual bool sendPacketOnNetwork(char *buffer, size_t length)
Sends the given buffer packet on the network.
Definition: eventManagerTCP.h:35
virtual bool hasNetworkConnection() const
Return true if the TCP network is active.
Definition: clientEventManagerTCP.h:33
virtual void tick()
Check to see if there is anything to receive.
DtInetTcpSocket * mySocket
Definition: clientEventManagerTCP.h:46
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.
virtual ~DtClientEventManagerTCP()
DTOR.