Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] Re: (PR#13714) rewrite server-querying code
Home

[Freeciv-Dev] Re: (PR#13714) rewrite server-querying code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13714) rewrite server-querying code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 20 Aug 2005 02:02:37 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13714 >

On Fri, 19 Aug 2005, Jason Short wrote:
> Metaserver queries are now non-blocking.However in practice this
> doesn't help very much because they still use gethostbyname which blocks
> waiting for DNS resolution.

Good first place to use threads, perhaps?

> The only way to get around this is to use a resolver library like libadns.

Or http://daniel.haxx.se/projects/c-ares/

  - Per





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#13714) rewrite server-querying code, Per I. Mathisen <=