Subject: None
To: None <netbsd-bugs@NetBSD.ORG>
From: Robin J F Carey <robin@red-branch.MIT.EDU>
List: netbsd-bugs
Date: 03/14/1995 15:00:21
Sorry for no send-pr, but I do not have that ability.
My system is NetBSD-1.0/i386 w/o patches (binary).

The manual page for GETSOCKOPT(2) has a mistake in it. The first sentence 
in the last paragraph of the DESCRIPTION section should read "Finally, 
SO_TYPE and SO_ERROR are options used only with getsockopt().".
Also the HISTORY section only mentions getsockopt().

Also, the INTRO(2) manual page declares errno to be in <sys/errno.h>,
but is defined to be in <errno.h> as part of the ANSI C standard.

I have recently written some server software, and am encountering a 
strange error. Basically, without going into too much detail, when the 
64th descriptor is accepted from the listening port (corresponds to fd 
#63), an attempt to resolve the network host entry is made from the 
internet address of the connection. However, for no apparent reason, 
gethostbyaddr(3) returns NULL, with h_errno being set to HOST_NOT_FOUND.

Can anyone explain why this happens ?

Cheers :)
--
Robin J F Carey