Superclass for Client and Server, which 'learns' its know-how in the derived classes.
Definition TcpMain.h:110
unsigned int getPortNum() const
void setWSACleanup() const
virtual void setDataSize(unsigned int uiDataSize)
SOCKET getMainSocket() const
virtual int send(Message *pTcpMessage)=0
unsigned int m_uiServerPort
Definition TcpMain.h:156
TcpMain(unsigned int uiPort, int iAdressFamily, int iSocketType, int iProtocol, int iSecTimeOut)
unsigned int m_uiDataSize
Definition TcpMain.h:169
static unsigned int m_uiTcpMainCounter
Definition TcpMain.h:127
unsigned int getDataSize() const
TcpMain(unsigned int uiPort, int iAdressFamily, int iSocketType, int iProtocol, unsigned int uiDataSize, int iSecTimeOut)
void setTimeOutSec(int iSecTimeOut)