On Friday, 26 August 2005, at 11:19:54 (+0900),
Carsten Haitzler wrote:

> It's trying to be friendly and read everything for you! :) seriously
> - e has its own dns lookup code because gethostbyname is a blocking
> call. this is actually only used if making remote connections, but
> it has to parse /etc/resolve.conf to know what to do. this means
> ecore_con is then capable of doing nslookups asynchronously - not
> holding the process hostage to waiting for a dns lookup timeout or
> reply. it always parses this data wehn starting up the connections
> subsystem (ecore_con) but it doesnt mean its making remote
> connections.

This is a horrific hack.  It doesn't even take into account nsswitch
settings.

There are numerous ASYNC DNS packages out there to be used.  Why not
use one?

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Applying computer technology is simply finding the right wrench to 
  pound in the correct screw."                              -- Unknown


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to