Tutorials Point


  Perl Home

  PERL Functions

© 2011 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL bind Function



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.



Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names