Perl Programming/Keywords/bind
< Perl Programming | Keywords
The bind keyword[edit | edit source]
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 | edit source]
bind SOCKET, NAME