Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: Ping patch
Home

[Freeciv-Dev] Re: Ping patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Ping patch
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Feb 2001 17:41:40 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Sat, Feb 17, 2001 at 04:58:22PM +0100, Christian Knoke wrote:
> 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?

Single IP packets can be lost. However a freeciv packet is just a
chunk of a TCP stream. TCP doesn't loose anything.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 Make a software that is foolproof, and only fools will want to use it.



[Prev in Thread] Current Thread [Next in Thread]