Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: mingw status (server + lan server bugs)
Home

[Freeciv-Dev] Re: mingw status (server + lan server bugs)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: mingw status (server + lan server bugs)
From: Andreas Røsdal <andrearo@xxxxxxxxxxxx>
Date: Tue, 25 Nov 2003 16:41:57 +0100 (CET)

On Tue, 25 Nov 2003, Per I. Mathisen wrote:
> I compiled up newest cvs gtk2 with my old mingw32 environment, and have
> two considerable problems:
>   - the server does not accept any input, all input seems to be buffered
> and sent to the command shell after the app exits; clients cannot connect
> (do not finish connection sequence)
>   - pressing the 'LAN servers' tab then 'refresh' button crashes the
> client - it freezes and must be closed from windows; I can't get gdb to
> resume after this happen so no backtrace
>
> On the bright side, the client seems much faster now.

I think this is because the socket for UDP multicast is blocking,
even though it's set to be nonblocking.

This can be fixed by using select(), like it's done several
places in /server/sernet.c.  I can make a patch for this.

  Andreas Røsdal



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