Perl Programming/Keywords/bind

The bind keyword

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

  bind SOCKET, NAME