1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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:
Fabio Alessandrelli
2020-01-24 14:50:53 +01:00
parent 40e41e2254
commit 5bd9f14ad9
3 changed files with 6 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ NetworkedMultiplayerPeer::ConnectionStatus WebSocketServer::get_connection_statu
return CONNECTION_CONNECTED;
return CONNECTION_DISCONNECTED;
};
}
bool WebSocketServer::is_server() const {