gethostbyaddr() doesn't work for localhost under W32/9x

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 28 04:42:00 GMT 2002


On Tue, Aug 27, 2002 at 05:15:24PM +0200, Ronald Landheer wrote:
> Hello all,
> 
>   I have a small question: gethostbyaddr() doesn't work for localhost 
> under W32/9x: the error set in errno is "operation not permitted".
> I've attached the smallest testcase I can think of. What I'd like to 
> know is why this doesn't work, while gethostbyname() on localhost works 
> like a charm? Is this a bug in my brain, in W32/9x or in Cygwin 
> (probably the second, possibly the first)

Works here, 98 and XP.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list