[Freeciv-Dev] Re: Network code
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|