C# Class socks5.TCP.Client

Afficher le fichier Open project: ThrDev/Socks5 Class Usage Examples

Méthodes publiques

Свойство Type Description
Receiving bool

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DataReceived ( IAsyncResult res ) : void
DataSent ( IAsyncResult res ) : void

Method Details

Client() public méthode

public Client ( Socket sock, int PacketSize ) : System
sock System.Net.Sockets.Socket
PacketSize int
Résultat System

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Receive() public méthode

public Receive ( byte data, int offset, int count ) : int
data byte
offset int
count int
Résultat int

ReceiveAsync() public méthode

public ReceiveAsync ( int buffersize = -1 ) : void
buffersize int
Résultat void

Send() public méthode

public Send ( byte buff ) : bool
buff byte
Résultat bool

Send() public méthode

public Send ( byte buff, int offset, int count ) : bool
buff byte
offset int
count int
Résultat bool

SendAsync() public méthode

public SendAsync ( byte buff, int offset, int count ) : void
buff byte
offset int
count int
Résultat void

Property Details

Receiving public_oe property

public bool Receiving
Résultat bool