Signals, fifos, pipes, safe subprocesses, sockets, and semaphores
Example of connecting a client to a time server:
use IO::Socket;
$remote = IO::Socket::INET->new(
Proto => "tcp",
PeerAddr => "www.timeserver.com",
PeerPort => "13",
)
or die "cannot connect to daytime port";
while ( <$remote> ) { print }
PeerAddr identifies the server.
It can be an IP address (e.g. 128.34.52.4)
or a hostname (e.g. www.keller.com).