Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] Re: (PR#3664) Server doesn't react while send_all_info(&pc
Home

[Freeciv-Dev] Re: (PR#3664) Server doesn't react while send_all_info(&pc

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3664) Server doesn't react while send_all_info(&pconn->self);
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Mar 2003 08:23:59 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, Mar 08, 2003 at 12:25:56PM -0800, ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
> 
> Hi,
> 
> duriing the time the server needs to seen all infomrmation to 1 client
> (especially while reconnection) the server doesn't react. No chatline,
> no moves from units ...
> That is really bad especially when playing with many players.

I'm not sure where the server blocks for the writes. Every client
socket at the server is non-blocking. And write_socket_data tests for
the socket's ability to write to it. I also didn't found a loop which
tries to empty the connection buffer.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
    1) Customers cause problems.
    2) Marketing is trying to create more customers.
  Therefore:
    3) Marketing is evil.




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