home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: closedir Perl in a Nutshell Next: Reference: cos
Reference: closedir Book Index Reference: cos

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.