5 #include "EegeoWindowsGuard.h"
7 #include "ITcpSocket.h"
8 #include "ITcpSocketSet.h"
25 u64 GetSocketDescriptor()
const {
return static_cast<u64
>(m_socketDescriptor); }
27 void StartListening(
int port);
29 void SetNonBlocking();
32 ITcpSocketSet* GetSocketSet(
const std::vector<ITcpSocket*>& clientSockets);
34 ssize_t Receive(
char* buffer,
size_t maxBufferLength);
35 void Send(
const char* data,
int length)
const;
41 SOCKET m_socketDescriptor;