Differences between version 3 and predecessor to the previous major change of setsockopt(2).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Thursday, December 1, 2005 10:54:53 am | by PerryLorier | Revert |
Older page: | version 2 | Last edited on Monday, June 6, 2005 12:31:03 pm | by PerryLorier | Revert |
@@ -70,8 +70,9 @@
;[ENOTSOCK]: The argument ''s'' is a file, not a socket.
;[ENOPROTOOPT]: The option is unknown at the level indicated.
;[EFAULT]: The address pointed to by ''optval'' is not in a valid part of the process address space. For getsockopt(2), this error may also be returned if ''optlen'' is not in a valid part of the process address space.
;[EINVAL]: The optlen or the option you are trying to set is invalid.
+;[EADDRNOTAVAIL]: The level isn't applicable for this option.
!!CONFORMING TO
SVr4, 4.4BSD (these system calls first appeared in 4.2BSD). SVr4 documents additional [ENOMEM] and [ENOSR] error codes, but does not document the __SO_SNDLOWAT__, __SO_RCVLOWAT__, __SO_SNDTIMEO__, __SO_RCVTIMEO__ options