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

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