C# Class socks5.Socks5Client.Socks5Client

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

Méthodes publiques

Свойство Type Description
Client socks5.TCP.Client
enc Encryption.SocksEncryption
reqPass bool

Méthodes publiques

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

Private Methods

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

Method Details

Connect() public méthode

public Connect ( ) : bool
Résultat bool

ConnectAsync() public méthode

public ConnectAsync ( ) : void
Résultat void

Receive() public méthode

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

ReceiveAsync() public méthode

public ReceiveAsync ( ) : void
Résultat void

Send() public méthode

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

Send() public méthode

public Send ( byte buffer, int offset, int length ) : bool
buffer byte
offset int
length int
Résultat bool

Socks5Client() public méthode

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
Résultat System

Socks5Client() public méthode

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
Résultat System

Property Details

Client public_oe property

public Client,socks5.TCP Client
Résultat socks5.TCP.Client

enc public_oe property

public Encryption.SocksEncryption enc
Résultat Encryption.SocksEncryption

reqPass public_oe property

public bool reqPass
Résultat bool