Name

setsockopt

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.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.