Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: closedirChapter 5
Function Reference
Next: Reference: cos
 

connect

connect socket, address

Initiates a connection with another process that is waiting at an accept on the filehandle socket. The function returns true for success, false otherwise (and puts the error code into $!). address is a packed network address of the proper type for socket.

To disconnect a socket, use either close or shutdown.


Previous: Reference: closedirPerl in a NutshellNext: Reference: cos
Reference: closedirBook IndexReference: cos