Help for this page

Select Code to Download


  1. or download this
    
    my $t_socket = IO::Socket::INET->new( 'PeerAddr' => "localhost",
                        'PeerPort' => $T_PORT,
                           'Proto' => 'tcp')
        or die "Second: Can't create socket to Third($!)\n";
    
  2. or download this
    if($name eq $match)
            {
    ...
                
                print $t_socket "$match\n";
            }
    
  3. or download this
    while(my $third = $t_socket->accept)
            {
    ...
                    }
                }    
            }