Perl Programming/Keywords/bind

Previous: BEGIN Keywords Next: binmode

The bind keyword

edit

The bind function that binds a network address NAME to a SOCKET as bind(2) does it under UNIX, and returns true on success. NAME should contain a packed address of the appropriate type of SOCKET.

Syntax

edit
  bind SOCKET, NAME
Previous: BEGIN Keywords Next: binmode