Name

setsockopt

Synopsis

setsockopt socket, level, optname, optval

Description

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