[Freeciv-Dev] Re: Ping patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Vasco Alexandre Da Silva Costa wrote:
>
> This patch adds 2 things:
>
> * added PACKET_CONN_PING & PACKET_CONN_PONG:
> PACKET_CONN_PING is sent by the server every GAME_DEFAULT_PINGTIMEOUT
> seconds to all clients.
> If the client doesn't reply with PACKET_CONN_PONG by the time the server
> tries to PING it again the client's connection is cut.
>
> GAME_DEFAULT_PINGTIMEOUT is 60 seconds right now.
Single packets can get lost. Is it a good idea to rely on one
packet?
Christian
--
* Christian Knoke +49 4852 92248 *
* D-25541 Brunsbuettel Wurtleutetweute 49 *
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
[Freeciv-Dev] Re: Ping patch, Paul Zastoupil, 2001/02/17
|
|