Synopsis
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.