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: Paul Zastoupil <paulz@xxxxxxxxxxxx>, rf13@xxxxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Network code
From: Thue <thue@xxxxxxx>
Date: Sun, 21 Jan 2001 02:14:32 +0100

On Sunday 21 January 2001 01:33, Paul Zastoupil wrote:
> On Sun, Jan 21, 2001 at 01:05:51AM +0100, Raimar Falke wrote:
> > On Sat, Jan 20, 2001 at 08:15:25AM -0800, Paul Zastoupil wrote:
> > > 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.
> >
> > Since this only a guess could you please verify. Setting a variable
> > for example should also cause a write. If this is the reason you could
> > write you idea to the list. Maybe there are technical reasons against
> > it, maybe just nobody coded it yet. I don't know but list should know.
>
> Heh, sorry about that, I thought I had included the list on that last
> email.

I know vasc has long had plans for a ping packet, but just haven't gotten 
around to coding it. So no technical reasons. Feel free to go ahead and make 
a patch. :)

-Thue



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