Name
socks -- SOCKS protocol interface.
Description
SOCKS is a protocol for interfacing with a SOCKS TCP proxy.
Details
GNET_SOCKS_PORT
Default port for SOCKS protocol.
gnet_socks_get_enabled ()
gboolean gnet_socks_get_enabled (void); |
Determine whether GNet SOCKS support is enabled.
gnet_socks_set_enabled ()
void gnet_socks_set_enabled (gboolean enabled); |
Set whether GNet SOCKS support is enabled.
gnet_socks_get_server ()
GInetAddr* gnet_socks_get_server (void); |
Get the address of the SOCKS server used for TCP connections.
Checks the gnet_socks_set_server() value and, if not set, the
SOCKS_SERVER environment variable. The SOCKS_SERVER enviroment
variable can be in the form HOSTNAME or HOSTNAME:PORT.
gnet_socks_set_server ()
void gnet_socks_set_server (const GInetAddr *ia); |
Set the address of the SOCKS server used for TCP connections.