It works, but not in Non-Blocking Mode...

Daniel Ng daniel_ng11 at lycos.com
Wed Oct 24 17:55:03 PDT 2007


Luciano Rocha <strange <at> nsk.no-ip.org> writes:

> You're searching for hostname and service in the same call to
> getaddrinfo. Last time I tried that, the service was ignored, and I
> switched to using two calls, one for the host and another for the
> service.
> 

Thanks Luciano, it works if I do the 2 separate calls, as you suggested.

However it only works if I don't set O_NONBLOCK.

Has anyone been successful in getting Non-blocking Sockets (Sockets, not 
Files) to work on uClibc?





More information about the uClibc mailing list