Class

SOCKS4

Extends:

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.

Constants
SOCKS_CMD_CONNECT
SOCKS_GRANTED
SOCKS_IDENTD_BAD
SOCKS_IDENTD_REJECT
SOCKS_REJECTED
SOCKS_VERSION
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.
Private Methods
proxy_user
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.