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
orshutdown
.