- attempt to further stabilize cpu usage and network reliability

This commit is contained in:
Mark Vejvoda
2011-11-25 20:03:07 +00:00
parent 4e882796a1
commit 82c9002d0a
8 changed files with 118 additions and 49 deletions

View File

@@ -139,6 +139,10 @@ public:
static bool hasDataToRead(std::map<PLATFORM_SOCKET,bool> &socketTriggeredList);
static bool hasDataToRead(PLATFORM_SOCKET socket);
bool hasDataToRead();
static bool hasDataToReadWithWait(PLATFORM_SOCKET socket,int waitMilliseconds);
bool hasDataToReadWithWait(int waitMilliseconds);
virtual void disconnectSocket();
PLATFORM_SOCKET getSocketId() const { return sock; }