08-01-2017
Yes, it's back to its usual response behaviour. Thank you!
5 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
PUZZLED:
How can I search for posts on 'VI' if by the new rules (or maybe they are old) I get the messge:
"The search term you specified (vi) is under the minimum word length (3) and therefore will not be found. Please make this term longer.
If this term contains a wildcard, please make... (13 Replies)
Discussion started by: sierra_aar
13 Replies
2. Post Here to Contact Site Administrators and Moderators
Of late, when i start www.unix.com my system is
going to 100% CPU and takes lot of time to get
the information. I think this is happening after
adding the graphics on the page. Has anyone seen
this problem..Sorry to post this here.. (6 Replies)
Discussion started by: sssow
6 Replies
3. Answers to Frequently Asked Questions
Every now and then our users post complete programs to this site. It is especially important that these contributions don't get lost, so I will collect them here. Some of these programs are intended to demonstrate a programming technique and some are ready to run. As a guideline, the code... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Folks,
Hope this is not a newbie question, but it might end up being that.
I wanted to retrieve the source code for unix_linux_bench as directed on https://www.unix.com/linux-benchmarks/11175-instructions-linux-benchmarks.html
When one clicks on the links specified for download, the browser... (1 Reply)
Discussion started by: wagdalule
1 Replies
5. Post Here to Contact Site Administrators and Moderators
I've been having a problem connecting to the forum. I know it is just something with my computer but I have no idea what it is. It started last week.
Every time I connect I get this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <rss version="2.0"... (2 Replies)
Discussion started by: Vi-Curious
2 Replies
LEARN ABOUT DEBIAN
lwp::protocol::socks
LWP::Protocol::socks(3pm) User Contributed Perl Documentation LWP::Protocol::socks(3pm)
NAME
LWP::Protocol::socks - adds support for the socks protocol and proxy facility
SYNOPSIS
use LWP::Protocol::socks;
DESCRIPTION
Use this package when you wish to use a socks proxy for your connections.
It provides some essential hooks into the LWP system to implement a socks "scheme" similar to http for describing your socks connection,
and can be used to proxy either http or https connections.
The use case is to use LWP::UserAgent's proxy method to register your socks proxy like so:
$ua->proxy([qw(http https)] => 'socks://socks.yahoo.com:1080');
Then just use your $ua object as usual!
EXAMPLES
#!/usr/local/bin/perl
use strict;
use LWP::UserAgent;
my $ua = new LWP::UserAgent(agent => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5');
# for socks5, use socks like so:
$ua->proxy([qw(http https)] => 'socks://socks.yahoo.com:1080');
# for socks4, use socks4 like so:
$ua->proxy([qw(http https)] => 'socks4://socks.yahoo.com:1080');
my $response = $ua->get("http://www.freebsd.org");
print $response->code,' ', $response->message,"
";
my $response = $ua->get("https://www.microsoft.com");
print $response->code,' ', $response->message,"
";
NOTES
I don't have much time to contribute to this. If you'd like to contribute, please fork https://github.com/scr/cpan and send me a pull
request.
AUTHORS
Sheridan C Rawlins <sheridan.rawlins@yahoo.com>
Oleg G <oleg@cpan.org>
perl v5.14.2 2012-02-12 LWP::Protocol::socks(3pm)