Lower WebSocket latency, fixes.
WSLPeer now tries to flush packet queue after put_packet call. WSLServer::listen correctly returns TCP_Server::listen return value.
This commit is contained in:
parent
40e41e2254
commit
5bd9f14ad9
3 changed files with 6 additions and 4 deletions
|
|
@ -114,7 +114,7 @@ NetworkedMultiplayerPeer::ConnectionStatus WebSocketServer::get_connection_statu
|
|||
return CONNECTION_CONNECTED;
|
||||
|
||||
return CONNECTION_DISCONNECTED;
|
||||
};
|
||||
}
|
||||
|
||||
bool WebSocketServer::is_server() const {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue