C# 클래스 apophis.SharpIRC.StarkSoftProxy.Socks4aProxyClient

Socks4a connection proxy class. This class implements the Socks4a standard proxy protocol which is an extension of the Socks4 protocol
In Socks version 4A if the client cannot resolve the destination host's domain name to find its IP address the server will attempt to resolve it.
상속: Socks4ProxyClient
파일 보기 프로젝트 열기: FreeApophis/sharpIRC

공개 메소드들

메소드 설명
Socks4aProxyClient ( ) : System.Net.Sockets

Default constructor.

Socks4aProxyClient ( TcpClient tcpClient ) : System.Net.Sockets

Creates a Socks4 proxy client object using the supplied TcpClient object connection.

Socks4aProxyClient ( string proxyHost ) : System.Net.Sockets

Create a Socks4 proxy client object. The default proxy port 1080 is used.

Socks4aProxyClient ( string proxyHost, int proxyPort ) : System.Net.Sockets

Create a Socks4a proxy client object.

Socks4aProxyClient ( string proxyHost, int proxyPort, string proxyUserId ) : System.Net.Sockets

Create a Socks4a proxy client object.

Socks4aProxyClient ( string proxyHost, string proxyUserId ) : System.Net.Sockets

Create a Socks4a proxy client object. The default proxy port 1080 is used.

비공개 메소드들

메소드 설명
SendCommand ( NetworkStream proxy, byte command, string destinationHost, int destinationPort, string userId ) : void

Sends a command to the proxy server.

This method override the SendCommand message in the Sock4ProxyClient object. The override adds support for the Socks4a extensions which allow the proxy client to optionally command the proxy server to resolve the destination host IP address.

메소드 상세

Socks4aProxyClient() 공개 메소드

Default constructor.
public Socks4aProxyClient ( ) : System.Net.Sockets
리턴 System.Net.Sockets

Socks4aProxyClient() 공개 메소드

Creates a Socks4 proxy client object using the supplied TcpClient object connection.
public Socks4aProxyClient ( TcpClient tcpClient ) : System.Net.Sockets
tcpClient System.Net.Sockets.TcpClient An open TcpClient object with an established connection.
리턴 System.Net.Sockets

Socks4aProxyClient() 공개 메소드

Create a Socks4 proxy client object. The default proxy port 1080 is used.
public Socks4aProxyClient ( string proxyHost ) : System.Net.Sockets
proxyHost string Host name or IP address of the proxy server.
리턴 System.Net.Sockets

Socks4aProxyClient() 공개 메소드

Create a Socks4a proxy client object.
public Socks4aProxyClient ( string proxyHost, int proxyPort ) : System.Net.Sockets
proxyHost string Host name or IP address of the proxy server.
proxyPort int Port used to connect to proxy server.
리턴 System.Net.Sockets

Socks4aProxyClient() 공개 메소드

Create a Socks4a proxy client object.
public Socks4aProxyClient ( string proxyHost, int proxyPort, string proxyUserId ) : System.Net.Sockets
proxyHost string Host name or IP address of the proxy server.
proxyPort int Port used to connect to proxy server.
proxyUserId string Proxy user identification information.
리턴 System.Net.Sockets

Socks4aProxyClient() 공개 메소드

Create a Socks4a proxy client object. The default proxy port 1080 is used.
public Socks4aProxyClient ( string proxyHost, string proxyUserId ) : System.Net.Sockets
proxyHost string Host name or IP address of the proxy server.
proxyUserId string Proxy user identification information for an IDENTD server.
리턴 System.Net.Sockets