C# 클래스 Library.Net.Proxy.Socks5ProxyClient

상속: ProxyClientBase
파일 보기 프로젝트 열기: Alliance-Network/Library 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Socket socket, System.TimeSpan timeout ) : void
Socks5ProxyClient ( string proxyUserName, string proxyPassword, string destinationHost, int destinationPort ) : System

비공개 메소드들

메소드 설명
DetermineClientAuthMethod ( ) : void
GetDestAddressBytes ( byte addressType, string host ) : byte[]
GetDestAddressType ( string host ) : byte
GetDestPortBytes ( int value ) : byte[]
HandleProxyCommandError ( byte response, string destinationHost, int destinationPort ) : void
NegotiateServerAuthMethod ( Socket socket ) : void
SendCommand ( Socket socket, byte command, string destinationHost, int destinationPort ) : void
Socks5ProxyClient ( string destinationHost, int destinationPort ) : System

메소드 상세

Create() 공개 메소드

public Create ( Socket socket, System.TimeSpan timeout ) : void
socket Socket
timeout System.TimeSpan
리턴 void

Socks5ProxyClient() 공개 메소드

public Socks5ProxyClient ( string proxyUserName, string proxyPassword, string destinationHost, int destinationPort ) : System
proxyUserName string
proxyPassword string
destinationHost string
destinationPort int
리턴 System