Perl Programming/Keywords/getsockopt
< Perl Programming | Keywords
The getsockopt keyword[edit | edit source]
The getsockopt function queries the option named OPTIONNAME that is associated with the SOCKET at a given LEVEL. Although they may exist several options, at least the uppermost socket level SOL_SOCKET will exist.
Syntax[edit | edit source]
getsockopt SOCKET, LEVEL, OPTIONNAME