(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
This commit is contained in:
@@ -70,10 +70,12 @@ public:
|
||||
uint32 last_token_frame; ///< The last frame we received the right token
|
||||
ClientStatus status; ///< Status of this client
|
||||
CommandQueue outgoing_queue; ///< The command-queue awaiting delivery
|
||||
int receive_limit; ///< Amount of bytes that we can receive at this moment
|
||||
|
||||
ServerNetworkGameSocketHandler(SOCKET s);
|
||||
~ServerNetworkGameSocketHandler();
|
||||
|
||||
virtual Packet *ReceivePacket();
|
||||
NetworkRecvStatus CloseConnection(NetworkRecvStatus status);
|
||||
void GetClientName(char *client_name, size_t size) const;
|
||||
|
||||
|
Reference in New Issue
Block a user