Perl Modules for Networking with Sockets : Socket « Network « Perl






Perl Modules for Networking with Sockets

    


Option         Value
Listen         Size of the incoming listen queue. Normally set to SOMAXCONN.
LocalAddr      IP address or hostname for a server socket, optional.
LocalPort      Port number for a server socket to listen on.
PeerAddr       IP address or hostname of the server, for client sockets.
PeerPort       Port number of the server, for client sockets.
Proto          Protocol to use, usually tcp or udp.
Reuse          Set to 1 for servers.
Timeout        Sets network timeouts.
Type           Type of socket, normally SOCK_STREAM (TCP) or SOCK_DGRAM (UDP).

   
    
    
    
  








Related examples in the same category

1.Time Server with Socket
2.Using Socket to call a Perl CGI
3.Socket server
4.Open a socket
5.Post query to a CGI
6.Query a Perl CGI
7.Listen to a port
8.Using regular expresion to validate an IP address
9.Child handle and parent handle
10.Daytime client, using symbolic host and service names
11.Add a host, delete a host, add a user, delete a user, ping a host, list processes, list filesystems, lists hosts, and kill a process.
12.A Perl TCP server without the Socket module.
13.A Simple script to update your host/ip with dyndns.org service.