Perl bind Function
This function binds the network ADDRESS to the filehandle identified by SOCKET. The ADDRESS should be a packed address of the appropriate type for the socket being opened.
Following is the simple syntax for this function −
bind SOCKET, ADDRESS
This function returns 0 on failure and 1 on success.