|
|
#define | SOCKS_MAX_UNAME_SIZE 255 |
| | Max character length for usernames. Defined in RFC 1929.
|
| |
|
#define | SOCKS_MAX_PASSWD_SIZE 255 |
| | Max character length for passwords. Defined in RFC 1929.
|
| |
|
| bool | AuthWithGssApi () |
| | A weak function that should be overriden by the developer in order to support GSSAPI authorization.
|
| |
| void | SetSocksProxySettings (SocksProxy *socksProxy) |
| | Set the system level SOCKS proxy settings object to the one that is passed in. If this object is set and is marked as enabled, calls to CoreConnect() (made from connect(), DoGet(), etc), will all initially connect to the proxy server using the SOCKS5 protocol.
|
| |
| SocksProxy * | GetSocksProxySettings () |
| | Get a pointer to the currnetly set Socks proxy settings object.
|
| |
#include< Socks.h>
The NetBurner SOCKS Library
◆ SocksAdrType
#include <Socks.h>
SOCKS Address Types.
| Enumerator |
|---|
| eSocksAdrTypeNone | None.
|
| eSocksAdrTypeIpv4 | IPv4.
|
| eSocksAdrTypeDomain | Domain.
|
| eSocksAdrTypeIpv6 | IPv6.
|
◆ SocksAuthType
#include <Socks.h>
SOCKS Autherization Types.
| Enumerator |
|---|
| eSocksAuthTypeGssApi | GSS API.
|
| eSocksAuthTypeUnPw | User name and password.
|
| eSocksAuthTypeNoAuth | Not as defined in RFC so that it could be propery tested against when being set by user.
|
◆ SocksClientCmd
#include <Socks.h>
SOCKS Client Commands.
| Enumerator |
|---|
| eSocksClientCmdConnect | Connect.
|
| eSocksClientCmdBind | Not currently supported, see RFC 1928.
|
| eSocksClientCmdUdpAssoc | Not currently supported, see RFC 1928.
|
◆ AuthWithGssApi()
#include <Socks.h>
A weak function that should be overriden by the developer in order to support GSSAPI authorization.
- Return values
-
| true | The GSSAPI authorization succeeded. |
| false | The GSSAPI authorization failed. |
◆ GetSocksProxySettings()
| SocksProxy * GetSocksProxySettings |
( |
| ) |
|
#include <Socks.h>
Get a pointer to the currnetly set Socks proxy settings object.
- Returns
- SocksProxy*
◆ SetSocksProxySettings()
| void SetSocksProxySettings |
( |
SocksProxy * | socksProxy | ) |
|
#include <Socks.h>
Set the system level SOCKS proxy settings object to the one that is passed in. If this object is set and is marked as enabled, calls to CoreConnect() (made from connect(), DoGet(), etc), will all initially connect to the proxy server using the SOCKS5 protocol.
- Parameters
-
| socksProxy | The proxy object that the system should reference. |