C# 클래스 socks5.Socks5Client.Socks5Client

파일 보기 프로젝트 열기: ThrDev/Socks5 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Client socks5.TCP.Client
enc Encryption.SocksEncryption
reqPass bool

공개 메소드들

메소드 설명
Connect ( ) : bool
ConnectAsync ( ) : void
Receive ( byte buffer, int offset, int count ) : int
ReceiveAsync ( ) : void
Send ( byte buffer ) : bool
Send ( byte buffer, int offset, int length ) : bool
Socks5Client ( IPAddress ip, int port, string dest, int destport, string username = null, string password = null ) : System
Socks5Client ( string ipOrDomain, int port, string dest, int destport, string username = null, string password = null ) : System

비공개 메소드들

메소드 설명
Client_onClientDisconnected ( object sender, ClientEventArgs e ) : void
Client_onDataReceived ( object sender, DataEventArgs e ) : void
DoSocks ( IPAddress ip, int port, string dest, int destport, string username = null, string password = null ) : void
Socks5Client ( ) : System
onConnected ( IAsyncResult res ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( ) : bool
리턴 bool

ConnectAsync() 공개 메소드

public ConnectAsync ( ) : void
리턴 void

Receive() 공개 메소드

public Receive ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReceiveAsync() 공개 메소드

public ReceiveAsync ( ) : void
리턴 void

Send() 공개 메소드

public Send ( byte buffer ) : bool
buffer byte
리턴 bool

Send() 공개 메소드

public Send ( byte buffer, int offset, int length ) : bool
buffer byte
offset int
length int
리턴 bool

Socks5Client() 공개 메소드

public Socks5Client ( IPAddress ip, int port, string dest, int destport, string username = null, string password = null ) : System
ip System.Net.IPAddress
port int
dest string
destport int
username string
password string
리턴 System

Socks5Client() 공개 메소드

public Socks5Client ( string ipOrDomain, int port, string dest, int destport, string username = null, string password = null ) : System
ipOrDomain string
port int
dest string
destport int
username string
password string
리턴 System

프로퍼티 상세

Client 공개적으로 프로퍼티

public Client,socks5.TCP Client
리턴 socks5.TCP.Client

enc 공개적으로 프로퍼티

public Encryption.SocksEncryption enc
리턴 Encryption.SocksEncryption

reqPass 공개적으로 프로퍼티

public bool reqPass
리턴 bool