C# Class socks5.Socks5Server

Show file Open project: ThrDev/Socks5 Class Usage Examples

Public Properties

Property Type Description
Clients List
Stats socks5.TCP.Stats

Public Methods

Method Description
Client_onDataReceived ( object sender, DataEventArgs e ) : void
Client_onDataSent ( object sender, DataEventArgs e ) : void
Socks5Server ( IPAddress ip, int port ) : System
Start ( ) : void
Stop ( ) : void
_server_onClientConnected ( object sender, ClientEventArgs e ) : void
client_onClientDisconnected ( object sender, SocksClientEventArgs e ) : void

Method Details

Client_onDataReceived() public method

public Client_onDataReceived ( object sender, DataEventArgs e ) : void
sender object
e socks5.TCP.DataEventArgs
return void

Client_onDataSent() public method

public Client_onDataSent ( object sender, DataEventArgs e ) : void
sender object
e socks5.TCP.DataEventArgs
return void

Socks5Server() public method

public Socks5Server ( IPAddress ip, int port ) : System
ip System.Net.IPAddress
port int
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

_server_onClientConnected() public method

public _server_onClientConnected ( object sender, ClientEventArgs e ) : void
sender object
e socks5.TCP.ClientEventArgs
return void

client_onClientDisconnected() public method

public client_onClientDisconnected ( object sender, SocksClientEventArgs e ) : void
sender object
e socks5.TCP.SocksClientEventArgs
return void

Property Details

Clients public property

public List Clients
return List

Stats public property

public Stats,socks5.TCP Stats
return socks5.TCP.Stats