[4883] in Athena Bugs
rt 6.4R: GETSOCKOPT, SETSOCKOPT manpage
daemon@ATHENA.MIT.EDU (cfields@ATHENA.MIT.EDU)
Mon May 7 19:00:19 1990
From: cfields@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Mon, 07 May 90 19:00:04 EDT
System name: e40-342f-2
Type and version: RTPC-ROMPC 6.4R
Display type: apa16
What were you trying to do?
use the GETSOCKOPT(2) manpage
What's wrong:
> Finally, SO_TYPE and SO_ERROR are options used only with
> setsockopt. SO_TYPE returns the type of the socket, such as
It should say getsockopt in place of setsockopt. I managed to
rationalize this strange statement instead of questioning it. If I had
read the manpage more carefully, I would have found:
> SO_TYPE get the type of the socket (get only)
> SO_ERROR get and clear error on the socket (get only)
which makes a lot more sense.
Please describe any relevant documentation references:
GETSOCKOPT(2)