C# 클래스 socks5.TCP.Client

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

공개 프로퍼티들

프로퍼티 타입 설명
Receiving bool

공개 메소드들

메소드 설명
Client ( Socket sock, int PacketSize ) : System
Disconnect ( ) : void
Dispose ( ) : void
Receive ( byte data, int offset, int count ) : int
ReceiveAsync ( int buffersize = -1 ) : void
Send ( byte buff ) : bool
Send ( byte buff, int offset, int count ) : bool
SendAsync ( byte buff, int offset, int count ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
DataReceived ( IAsyncResult res ) : void
DataSent ( IAsyncResult res ) : void

메소드 상세

Client() 공개 메소드

public Client ( Socket sock, int PacketSize ) : System
sock System.Net.Sockets.Socket
PacketSize int
리턴 System

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Receive() 공개 메소드

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

ReceiveAsync() 공개 메소드

public ReceiveAsync ( int buffersize = -1 ) : void
buffersize int
리턴 void

Send() 공개 메소드

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

Send() 공개 메소드

public Send ( byte buff, int offset, int count ) : bool
buff byte
offset int
count int
리턴 bool

SendAsync() 공개 메소드

public SendAsync ( byte buff, int offset, int count ) : void
buff byte
offset int
count int
리턴 void

프로퍼티 상세

Receiving 공개적으로 프로퍼티

public bool Receiving
리턴 bool