Perl bind Function



Description

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.

Syntax

Following is the simple syntax for this function −

bind SOCKET, ADDRESS 

Return Value

This function returns 0 on failure and 1 on success.

perl_function_references.htm
Advertisements