This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)

Ronald

NB: Work won't allow to spend time on Cygwin - so I won't be able to 
    fix anything as I won't be able to get the release form signed. 
    Should be possible in three months though: work won't exist anymore 
    :)

Attachment: Makefile
Description: Binary data

Attachment: test.cc
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]