> "j" == john <[EMAIL PROTECTED]> writes:
j> The blocking nature of gethosbyname is well-known and solutions are
j> well-understood. The 'standard' solution (employed by netscape and
j> squid among others) is to fork one or more 'helper' processes. The
j> helper calls gethostbyname
I have an application that uses Event to organize a lot of
separate UDP query/response transactions with many different servers.
So far so good. Event is the right tool for the job and it's working
very nicely.
BUT - I sometimes have to call gethostbyname from inside a callback.
This can block