C# Class SuperSocket.ClientEngine.Proxy.Socks5Connector

http://tools.ietf.org/html/rfc1928
Inheritance: SuperSocket.ClientEngine.Proxy.ProxyConnectorBase
Afficher le fichier Open project: kerryjiang/SuperSocket.ClientEngine

Méthodes publiques

Méthode Description
Connect ( EndPoint remoteEndPoint ) : void
Socks5Connector ( EndPoint proxyEndPoint ) : System
Socks5Connector ( EndPoint proxyEndPoint, SocketClientAccessPolicyProtocol clientAccessPolicyProtocol ) : System
Socks5Connector ( EndPoint proxyEndPoint, SocketClientAccessPolicyProtocol clientAccessPolicyProtocol, string username, string password ) : System
Socks5Connector ( EndPoint proxyEndPoint, string username, string password ) : System

Méthodes protégées

Méthode Description
ProcessConnect ( Socket socket, object targetEndPoint, SocketAsyncEventArgs e ) : void
ProcessReceive ( SocketAsyncEventArgs e ) : void
ProcessSend ( SocketAsyncEventArgs e ) : void

Private Methods

Méthode Description
AutheticateWithUserNamePassword ( SocketAsyncEventArgs e ) : void
OnGetFullResponse ( SocksContext context ) : void
ProcessAuthenticationResponse ( Socket socket, SocketAsyncEventArgs e ) : bool
SendHandshake ( SocketAsyncEventArgs e ) : void

Method Details

Connect() public méthode

public Connect ( EndPoint remoteEndPoint ) : void
remoteEndPoint System.Net.EndPoint
Résultat void

ProcessConnect() protected méthode

protected ProcessConnect ( Socket socket, object targetEndPoint, SocketAsyncEventArgs e ) : void
socket Socket
targetEndPoint object
e SocketAsyncEventArgs
Résultat void

ProcessReceive() protected méthode

protected ProcessReceive ( SocketAsyncEventArgs e ) : void
e SocketAsyncEventArgs
Résultat void

ProcessSend() protected méthode

protected ProcessSend ( SocketAsyncEventArgs e ) : void
e SocketAsyncEventArgs
Résultat void

Socks5Connector() public méthode

public Socks5Connector ( EndPoint proxyEndPoint ) : System
proxyEndPoint System.Net.EndPoint
Résultat System

Socks5Connector() public méthode

public Socks5Connector ( EndPoint proxyEndPoint, SocketClientAccessPolicyProtocol clientAccessPolicyProtocol ) : System
proxyEndPoint System.Net.EndPoint
clientAccessPolicyProtocol SocketClientAccessPolicyProtocol
Résultat System

Socks5Connector() public méthode

public Socks5Connector ( EndPoint proxyEndPoint, SocketClientAccessPolicyProtocol clientAccessPolicyProtocol, string username, string password ) : System
proxyEndPoint System.Net.EndPoint
clientAccessPolicyProtocol SocketClientAccessPolicyProtocol
username string
password string
Résultat System

Socks5Connector() public méthode

public Socks5Connector ( EndPoint proxyEndPoint, string username, string password ) : System
proxyEndPoint System.Net.EndPoint
username string
password string
Résultat System