home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


getsockopt

getsockopt 
socket
, 
level
, 
optname

Returns the value of the socket option optname , or the undefined value if there is an error. level identifies the protocol level used by socket . Options vary for different protocols. See also setsockopt .