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

Luciano Rocha strange at nsk.no-ip.org
Thu Oct 25 08:37:02 UTC 2007


On Thu, Oct 25, 2007 at 12:55:03AM +0000, Daniel Ng wrote:
> 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.
> 

What happens?

http://cr.yp.to/docs/connect.html may have useful information.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20071025/66d0db55/attachment-0002.pgp 


More information about the uClibc mailing list