Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $a = new LWP::UserAgent();
    $a->proxy('http', 'http://ofgfw1.owfg.com:8080/');
    $a->get("http://www.yahoo.com/");
    
  2. or download this
    print $sock->sockaddr(), "\n";
    print $sock->sockport(), "\n";