Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Network code
Home

[Freeciv-Dev] Re: Network code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxxxx
Cc: Paul Zastoupil <paulz@xxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Network code
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Sat, 20 Jan 2001 08:15:25 -0800

On Sat, Jan 20, 2001 at 03:36:00PM +0100, Raimar Falke wrote:
> On Fri, Jan 19, 2001 at 11:09:54AM -0800, Paul Zastoupil wrote:
> > I have a question about the cvs version.  More than once, on trying to
> > check the state of a game with only one person connected on civserver
> > 
> > As soon as I connect I get the disconnect message of the other player:
> > Game: Lost connection: anton from 212.68.243.134 (player Tomislav).
> > 
> > Its appears that the other person disconnected but the code does
> > realize it until another connection is made.
> 
> My guess: when you connect the server tries to tell this all
> players. If the socket write to the other players will fail the server
> will notice that this players have been disconnected.
> 
>       Raimar

If this is actually the case, should the server 'ping' the clients
every few minutes or so (a la irc)?  This is only happening with idle
games.

-- 
Paul Zastoupil



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