Re: How to open a socket through a proxy server?
From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 05/18/04
- Next message: Ben Morrow: "Re: validating IP addresses"
- Previous message: Malcolm Dew-Jones: "Re: Password scheme/Persistent session..."
- In reply to: Marcelo: "Re: How to open a socket through a proxy server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 May 2004 19:23:51 +0000 (UTC)
Quoth mnarvaja@yahoo.com (Marcelo):
> Ben Morrow <usenet@morrow.me.uk> wrote in message news:<c8b763$7ki$1@wisteria.csv.warwick.ac.uk>...
> > Quoth mnarvaja@yahoo.com (Marcelo):
> > What sort of proxy server? HTTP? SOCKS?
> >
> > If you're talking about SOCKS, you can use IO::Socket::Socks. If HTTP,
> > then you need to make a CONNECT request.
>
> I have both proxies, HTTP and SOCKS proxy servers.
> I tried using IO::Socket::Socks, but it fails by timeout. The original
> version of this module uses IO::Socket::INET that is timeout
> customizable.
IO::Socket::Socks inherits IO::Socket::INET (well, actually
IO::Socket)'s new method, so you can specify a timeout parameter in the
same way.
Ben
--
perl -e'print map {/.(.)/s} sort unpack "a2"x26, pack "N"x13,
qw/1632265075 1651865445 1685354798 1696626283 1752131169 1769237618
1801808488 1830841936 1886550130 1914728293 1936225377 1969451372
2047502190/' # ben@morrow.me.uk
- Next message: Ben Morrow: "Re: validating IP addresses"
- Previous message: Malcolm Dew-Jones: "Re: Password scheme/Persistent session..."
- In reply to: Marcelo: "Re: How to open a socket through a proxy server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|