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


setsockopt

setsockopt 
socket
, 
level
, 
optname
, 
optval

Sets the socket option requested ( optname ) to the value optval . The function returns undefined if there is an error. optval may be specified as undef if you don't want to pass an argument. level specifies the protocol type used on the socket.