Tutorials Point


  Perl Home

  PERL Functions

© 2013 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL bind Function



Advertisements

Syntax

bind SOCKET, ADDRESS


Definition and Usage

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.

Return Value

  • 0 on failure

  • 1 on success

Example

Have a look at socket example in Perl Socket Session.



Advertisements


  

Advertisements