C# Class socks5.SocksTunnel

ファイルを表示 Open project: ThrDev/Socks5

Public Properties

Property Type Description
Client socks5.Socks.SocksClient
ModifiedReq socks5.Socks.SocksRequest
RemoteClient socks5.TCP.Client
Req socks5.Socks.SocksRequest

Public Methods

Method Description
Client_onClientDisconnected ( object sender, ClientEventArgs e ) : void
Client_onDataReceived ( object sender, DataEventArgs e ) : void
Open ( IPAddress outbound ) : void
RemoteClient_onClientDisconnected ( object sender, ClientEventArgs e ) : void
RemoteClient_onDataReceived ( object sender, DataEventArgs e ) : void
SocksTunnel ( SocksClient p, SocksRequest req, SocksRequest req1, int packetSize, int timeout ) : System
socketArgs_Completed ( object sender, SocketAsyncEventArgs e ) : void

Private Methods

Method Description
ConnectHandler ( SocketAsyncEventArgs e ) : void

Method Details

Client_onClientDisconnected() public method

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

Client_onDataReceived() public method

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

Open() public method

public Open ( IPAddress outbound ) : void
outbound System.Net.IPAddress
return void

RemoteClient_onClientDisconnected() public method

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

RemoteClient_onDataReceived() public method

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

SocksTunnel() public method

public SocksTunnel ( SocksClient p, SocksRequest req, SocksRequest req1, int packetSize, int timeout ) : System
p socks5.Socks.SocksClient
req socks5.Socks.SocksRequest
req1 socks5.Socks.SocksRequest
packetSize int
timeout int
return System

socketArgs_Completed() public method

public socketArgs_Completed ( object sender, SocketAsyncEventArgs e ) : void
sender object
e System.Net.Sockets.SocketAsyncEventArgs
return void

Property Details

Client public_oe property

public SocksClient,socks5.Socks Client
return socks5.Socks.SocksClient

ModifiedReq public_oe property

public SocksRequest,socks5.Socks ModifiedReq
return socks5.Socks.SocksRequest

RemoteClient public_oe property

public Client,socks5.TCP RemoteClient
return socks5.TCP.Client

Req public_oe property

public SocksRequest,socks5.Socks Req
return socks5.Socks.SocksRequest