[freeciv-ai] Re: puppeteer patches builded over versions that do not com
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 18 Jul 2004, nikodimka wrote:
> --- Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx> wrote:
> > netintf.h has a UNIX/Win32 compatible network layer.
> Why then the gui clients do use their toolkits' means of dealing with sockets?
> And not just
Because using select() there is not a good idea. You want to be able to
use the client all the time, so you will end up polling the socket, and
the GUI library usually knows how to do this best anyway.
The clients do use netintf.h for everything else however.
Since you will not be using a GUI at all, you can use select() just like
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
[freeciv-ai] Re: puppeteer patches builded over versions that do not compile, nikodimka, 2004/07/17