Base class for implementing the SOCKS protocol for use with PSocksSocket and PSocksUDPSocket.
More...
#include <socks.h>
Base class for implementing the SOCKS protocol for use with PSocksSocket and PSocksUDPSocket.
§ anonymous enum
Enumerator |
---|
DefaultServerPort | |
§ PSocksProtocol()
PSocksProtocol::PSocksProtocol |
( |
WORD |
port | ) |
|
§ ~PSocksProtocol()
virtual PSocksProtocol::~PSocksProtocol |
( |
| ) |
|
|
inlinevirtual |
§ ConnectSocksServer()
§ ReceiveSocksResponse()
§ SendSocksCommand()
§ SetAuthentication()
void PSocksProtocol::SetAuthentication |
( |
const PString & |
username, |
|
|
const PString & |
password |
|
) |
| |
Set the username and password for the SOCKS server authentication.
This is for the cleartext authentication only, GSSAPI, Kerberos etc is not yet supported.
§ SetErrorCodes()
virtual void PSocksProtocol::SetErrorCodes |
( |
PChannel::Errors |
errCode, |
|
|
int |
osErr |
|
) |
| |
|
protectedpure virtual |
§ SetServer() [1/2]
PBoolean PSocksProtocol::SetServer |
( |
const PString & |
hostname, |
|
|
const char * |
service = "socks 1080" |
|
) |
| |
§ SetServer() [2/2]
§ authenticationPassword
PString PSocksProtocol::authenticationPassword |
|
protected |
§ authenticationUsername
PString PSocksProtocol::authenticationUsername |
|
protected |
§ localAddress
§ localPort
WORD PSocksProtocol::localPort |
|
protected |
§ remoteAddress
§ remotePort
WORD PSocksProtocol::remotePort |
|
protected |
§ serverHost
§ serverPort
WORD PSocksProtocol::serverPort |
|
protected |
The documentation for this class was generated from the following file: