Tutorials Point


  Perl Home

  PERL Functions

© 2011 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL connect Function



Syntax

connect SOCKET, EXPR


Definition and Usage

Connects to the remote socket using the filehandle SOCKET and the address specified by EXPR. The EXPR should be a packed address of the appropriate type for the socket.

Return Value

  • 0 on failure

  • 1 on success

Example

Check Perl Socket Session for Examples on connect



Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names