You are viewing the version of this documentation from Perl 5.005_03. View the latest version
getsockopt SOCKET,LEVEL,OPTNAME

Returns the socket option requested, or undef if there is an error.