Jump to content

Perl Programming/Keywords/getsockopt

From Wikibooks, open books for an open world
Previous: getsockname Keywords Next: given

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
Previous: getsockname Keywords Next: given