This is an ancestor class allowing access to a SOCKS servers (version 4 and 5)
Inheritance:
Public Methods
-
Construction.
-
Overrides from class PObject.
-
Overrides from class PChannel.
-
Overrides from class PSocket.
-
New functions for class.
Public Methods
-
virtual PString GetName() const
-
virtual BOOL Connect( const PString & address )
-
virtual BOOL Listen( unsigned queueSize = 5, WORD port = 0, Reusability reuse = AddressIsExclusive )
-
static PString GetHostName()
-
static BOOL GetHostAddress( Address & addr )
-
static PStringArray GetHostAliases( const PString & hostname )
-
static BOOL IsLocalHost( const PString & hostname )
-
virtual BOOL GetLocalAddress( Address & addr )
-
virtual BOOL GetPeerAddress( Address & addr )
-
PString GetLocalHostName()
-
PString GetPeerHostName()
-
static void ClearNameCache()
-
static BOOL GetGatewayAddress( Address & addr )
-
static PString GetGatewayInterface()
-
static BOOL GetRouteTable( RouteTable & table )
-
static BOOL GetInterfaceTable( InterfaceTable & table )
Public Members
-
class Address: public PObject
- A class describing an IP address
-
class RouteEntry: public PObject
- Describes a route table entry
-
class InterfaceEntry: public PObject
- Describes an interface table entry
Inherited from PSocket:
Public Methods
-
Socket establishment functions
-
Socket options functions
-
Port/Service database functions
-
Integer conversion functions
Public Members
-
Multiple socket selection functions
Protected Fields
-
WORD port
Protected Methods
-
virtual const char* GetProtocolName() const
Public Methods
-
Construction
-
Overrides from class PObject
-
Information functions
-
Reading functions
-
Writing functions
-
Miscellaneous functions
-
static BOOL ConvertOSError( int libcReturnValue, Errors & lastError, int & osError )
Public Members
-
Error functions
Protected Fields
-
int os_handle
-
Errors lastErrorCode[NumErrorGroups+1]
-
int lastErrorNumber[NumErrorGroups+1]
-
PINDEX lastReadCount
-
PINDEX lastWriteCount
-
PTimeInterval readTimeout
-
PTimeInterval writeTimeout
Protected Methods
-
virtual BOOL ConvertOSError( int libcReturnValue, ErrorGroup group = LastGeneralError )
-
BOOL SetErrorValues( Errors errorCode, int osError, ErrorGroup group = LastGeneralError )
-
int ReadCharWithTimeout( PTimeInterval & timeout )
Inherited from PObject:
Public Methods
-
Run Time Type functions
-
I/O functions
Public Members
-
Comparison functions
Public Methods
-
void SetAuthentication( const PString & username, const PString & password )
Documentation
This is an ancestor class allowing access to a SOCKS servers (version 4 and 5)
- Direct child classes:
- PSocks5Socket
PSocks4Socket
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.