1#ifndef INC_MYTESTSERVER_H
2#define INC_MYTESTSERVER_H
169 unsigned int uiDataSize,
170 unsigned long ulMaxClients,
252 virtual void insertNewClient( Server::ServerReceiverTransmitter * pNewServerReceiverTransmitter );
Header for Server and Server::ServerReceiverTransmitter
For each library, here 'TcpLib' there is a type file.
An example class for a simple server derived from Server.
Definition MyTestServer.h:85
MyTestServer(const MyTestServer &)
MyTestServer & operator=(const MyTestServer &)
virtual void processClientMessage(tcp::AbstractMessage *pTcpMessage)
int sendToAllClients(std::string strMsg)
MyTestServer(unsigned int uiPort, int iAdressFamily, int iSocketType, int iProtocol, unsigned int uiDataSize, unsigned long ulMaxClients, int iSecTimeOut)
MyTestServer(unsigned int, int, int, int, int)
MyTestServer(unsigned int, int, int, int, unsigned int, int)
virtual void insertNewClient(Server::ServerReceiverTransmitter *pNewServerReceiverTransmitter)
Base class for messages which can be sent, received and processed by the Tcp-classes.
Definition TcpMessage.h:97
A simple TCP server class, which should learn its know-how in the derived classes.
Definition TcpServer.h:268