Tutorials Point


  Perl Home

  PERL Functions

© 2011 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL socketpair Function



Syntax

socketpair SOCKET1, SOCKET2, DOMAIN, TYPE, PROTOCOL


Definition and Usage

Creates an unnamed pair of connected sockets in the specified DOMAIN, of the specified TYPE, using PROTOCOL. If the system socketpair( ) function is not implemented, then it causes a fatal error.

Return Value

  • 0 on failure

  • 1 on success



Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names