Jump to content

Perl Programming/Keywords/getsockname

From Wikibooks, open books for an open world
Previous: getservent Keywords Next: getsockopt

The getsockname keyword

[edit | edit source]

The getsockname function returns the sockaddr (socket address) for a given socket NAME and PROTOCOL.

Syntax

[edit | edit source]
  getsockname NAME, PROTOCOL
Previous: getservent Keywords Next: getsockopt