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.
| Enumerator |
|---|
| DefaultServerPort |
|
| PSocksProtocol::PSocksProtocol |
( |
WORD |
port | ) |
|
| virtual PSocksProtocol::~PSocksProtocol |
( |
| ) |
|
|
inlinevirtual |
| 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.
| virtual void PSocksProtocol::SetErrorCodes |
( |
PChannel::Errors |
errCode, |
|
|
int |
osErr |
|
) |
| |
|
protectedpure virtual |
| PBoolean PSocksProtocol::SetServer |
( |
const PString & |
hostname, |
|
|
const char * |
service = "socks 1080" |
|
) |
| |
| PString PSocksProtocol::authenticationPassword |
|
protected |
| PString PSocksProtocol::authenticationUsername |
|
protected |
| WORD PSocksProtocol::localPort |
|
protected |
| WORD PSocksProtocol::remotePort |
|
protected |
| WORD PSocksProtocol::serverPort |
|
protected |
The documentation for this class was generated from the following file: