Network buffer should now dynamically increase when needed.
This commit is contained in:
@@ -25,7 +25,7 @@ private:
|
||||
void handle_accept(boost::shared_ptr<boost::asio::ip::tcp::socket> socket,
|
||||
int& nextPlayerID, std::map<PlayerID, PlayerDefinition>& connectedPlayers,
|
||||
const boost::system::error_code& error);
|
||||
int readBuffer(char* data, PlayerDefinition& playerDefinition);
|
||||
int readBuffer(PlayerDefinition& playerDefinition);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user