Perl Home
PERL Functions
© 2013 TutorialsPoint.COM
|
PERL socketpair Function
Advertisements
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
|
Advertisements
|
|
|