WebSocket protocol support can now be configured and is only used in the dedicated server.

This commit is contained in:
lotodore
2013-10-03 00:41:07 +02:00
parent d23cc87c93
commit 04abfb658d
7 changed files with 23 additions and 9 deletions
+4 -1
View File
@@ -64,7 +64,10 @@ enum ServerMode {
enum ServerTransportProtocol {
TRANSPORT_PROTOCOL_TCP = 1,
TRANSPORT_PROTOCOL_SCTP = 2,
TRANSPORT_PROTOCOL_TCP_SCTP = 3
TRANSPORT_PROTOCOL_TCP_SCTP = 3,
TRANSPORT_PROTOCOL_WEBSOCKET = 4,
TRANSPORT_PROTOCOL_TCP_WEBSOCKET = 5,
TRANSPORT_PROTOCOL_TCP_SCTP_WEBSOCKET = 7
};
enum GameState {