Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: timeoutChapter 13
Sockets
Next: Reference: sockdomain
 

sockopt

sockopt (opt, [val])

Sets and retrieves socket option opt in the SOL_SOCKET level. The value val is set for the option, if given. If no value is provided, the function returns the current setting for the option.


Previous: Reference: timeoutPerl in a NutshellNext: Reference: sockdomain
Reference: timeoutBook IndexReference: sockdomain