From: Jimmy Thrasher Date: 2001-10-01T21:13:12+09:00 Subject: [ruby-talk:21864] Using SOCKSSocket This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C14A50.E69A5E40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, all, I apologize, but it's not immediately clear how to use the SOCKSSocket = class. If I have a SOCKS4 server server.bob.com:1080, and I want to = make an HTTP request to the outside world, how would I go about doing = it? Also, if I wanted simply to make a TCP connection to the outside = world, how would I do it? Are the server and port passed to the = initialize method of SOCKSSocket for the SOCKS server or for the = connection? Thanks, Jimmy ------=_NextPart_000_0014_01C14A50.E69A5E40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, all,
 
I apologize, but it's not immediately = clear how to=20 use the SOCKSSocket class.  If I have a SOCKS4 server = server.bob.com:1080,=20 and I want to make an HTTP request to the outside world, how would I go = about=20 doing it?  Also, if I wanted simply to make a TCP connection to the = outside=20 world, how would I do it?  Are the server and port passed to the = initialize=20 method of SOCKSSocket for the SOCKS server or for the = connection?
 
Thanks,
 
Jimmy
------=_NextPart_000_0014_01C14A50.E69A5E40--