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: Andreas Røsdal <andrearo@xxxxxxxxxxxx>
Cc: "Per I. Mathisen" <per@xxxxxxxxxxx>, <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: mingw status (server + lan server bugs)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 25 Nov 2003 18:33:26 +0000 (WET)

On Tue, 25 Nov 2003, Andreas Røsdal wrote:

> 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.

UDP is connectionless. Make sure you aren't getting bogged down doing
a DNS name lookup.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa



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