15#define MAX_PENDING_CONNECTS 4
virtual INT Receive(LPSTR lpsBuffer, UINT nLength)
LPCServerSocket ServerSocket
CServerSocket * GetServerSocket()
virtual INT Transmit(LPCSTR lpsBuffer, UINT nLength)
virtual INT SendText(LPCSTR lpsText)
virtual VOID MessageLoop()
virtual ~CServerClientThread()
CServerClientThread(CServerClientSocket *socket)
CServerClientSocket * ClientSocket
virtual LPCServerClientSocket OnGetSocket(LPCServerSocket lpServerSocket)
virtual VOID OnAccept(LPCServerClientThread lpThread)
virtual VOID MessageLoop()
virtual LPCServerClientThread OnGetThread(LPCServerClientSocket lpSocket)
CList< LPCServerClientThread > Connections
VOID RemoveClient(LPCServerClientThread lpClient)
VOID InsertClient(LPCServerClientThread lpClient)
virtual INT Transmit(LPCSTR lpsBuffer, UINT nLength)
virtual SOCKET GetSocket()
virtual VOID SetSockAddrIn(SOCKADDR_IN sockaddrin)
virtual INT SendText(LPCSTR lpsStr)
virtual VOID SetSocket(SOCKET socket)
virtual INT Receive(LPSTR lpsBuffer, UINT nLength)
virtual VOID SetEvents(LONG lEvents)
virtual VOID SetPort(UINT nPort)
virtual SOCKADDR_IN GetSockAddrIn()
ESocketClose(LPTSTR description)
ESocketDll(LPTSTR description)
ESocketOpen(LPTSTR description)
ESocketReceive(LPTSTR description)
ESocketSend(LPTSTR description)
ESocketWinsock(LPTSTR description)
ESocket(LPTSTR description)
CServerClientSocket * LPCServerClientSocket
CClientSocket * LPCClientSocket
CServerSocket * LPCServerSocket
CServerClientThread * LPCServerClientThread
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)