Help for this page

Select Code to Download


  1. or download this
        # connect to remote site
        my $socket = $self->_new_socket($host, $port, $timeout);
    ...
        #my($self, $req, $sock) = @_;
    }
    
  2. or download this
    *LWP::Protocol::http::Socket::connect =
      *LWP::Protocol::http10::Socket::connect =
    ...
    ## get port here
        return $sock;
      };