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>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Network code
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Jan 2001 15:36:00 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

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

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "At the beginning of the week, we sealed ten BSD programmers
  into a computer room with a single distribution of BSD Unix.
  Upon opening the room after seven days, we found all ten programmers 
  dead, clutching each other's throats, and thirteen new flavors of BSD."



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