(svn r24642) -Codechange: add helper function to see if there is anything in the send queue
This commit is contained in:
@@ -50,6 +50,12 @@ public:
|
|||||||
|
|
||||||
bool CanSendReceive();
|
bool CanSendReceive();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether there is something pending in the send queue.
|
||||||
|
* @return true when someting is pending in the send queue.
|
||||||
|
*/
|
||||||
|
bool HasSendQueue() { return this->packet_queue != NULL; }
|
||||||
|
|
||||||
NetworkTCPSocketHandler(SOCKET s = INVALID_SOCKET);
|
NetworkTCPSocketHandler(SOCKET s = INVALID_SOCKET);
|
||||||
~NetworkTCPSocketHandler();
|
~NetworkTCPSocketHandler();
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user