An implementation of a socket factory that returns a socket which will
tunnel the connection through a SOCKS4 proxy. It allows explicit
specification of the user, but if it is not given it will look in the
SOCKS_USER and CONNECT_USER environment variables as well.
| Public Methods |
| new |
Create a new proxy connection to the given proxy host and port. Optionally,
a @:user@ option may be given to identify the username with which to
authenticate.
|
| open |
Return a new socket connected to the given host and port via the proxy that
was requested when the socket factory was instantiated.
|
<code/>and<pre/>for code samples.