Re: How to open a socket through a proxy server?

From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 05/18/04


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


Relevant Pages

  • Re: How to open a socket through a proxy server?
    ... > What sort of proxy server? ... HTTP and SOCKS proxy servers. ... but it fails by timeout. ...
    (comp.lang.perl.misc)
  • Re: Access Internet from Office Network
    ... that advanced tab I have the same proxy server name on HTTP and Socks ...
    (microsoft.public.pocketpc)
  • RE: erro
    ... Click LAN Settings button. ... In the Proxy Server frame, Uncheck the Use a proxy server for your LAN ... Select the "Use HTTP 1.1" check box. ... Type the following sites in the box below Add this Web site to the zone: ...
    (microsoft.public.windowsupdate)
  • RE: Error 80240030
    ... Click LAN Settings button. ... In the Proxy Server frame, Uncheck the Use a proxy server for your LAN ... Select the "Use HTTP 1.1" check box. ... Type the following sites in the box below Add this Web site to the zone: ...
    (microsoft.public.windowsupdate)
  • Re: JAVA Probleme Port 8002
    ... HTTP Proxy Server herstellen, da der Server keine Kommunikation über HTTP ... Das Chatapplet funktioniert gut durch Firewalls mit SOCKS oder NAT. ...
    (microsoft.public.de.german.isaserver)