diff options
author | rubidium <rubidium@openttd.org> | 2010-11-30 14:18:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-30 14:18:20 +0000 |
commit | 31c8ab0ed895b8a67a0d6720f92b7a0e77956454 (patch) | |
tree | 1a089c1e156791a4cd5eeb18c380ef34e692a8ab /src/network/core/tcp_game.h | |
parent | 21cf75951c77e2d73ba2a564e2b7110c5c058747 (diff) | |
download | openttd-31c8ab0ed895b8a67a0d6720f92b7a0e77956454.tar.xz |
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r-- | src/network/core/tcp_game.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index be737554e..24adf6acd 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -304,6 +304,7 @@ protected: * uint32 Frame counter max (how far may the client walk before the server?) * uint32 General seed 1 (dependant on compile settings, not default). * uint32 General seed 2 (dependant on compile settings, not default). + * uint8 Random token to validate the client is actually listening (only occasionally present). */ DECLARE_GAME_RECEIVE_COMMAND(PACKET_SERVER_FRAME); @@ -318,6 +319,7 @@ protected: /** * Tell the server we are done with this frame: * uint32 Current frame counter of the client. + * uint8 The random token that the server sent in the PACKET_SERVER_FRAME packet. */ DECLARE_GAME_RECEIVE_COMMAND(PACKET_CLIENT_ACK); |