C# Class SimPlaza.UDProxy.SOCKS5.SOCKS5Server

Afficher le fichier Open project: Gnu32/UDProxy Class Usage Examples

Méthodes publiques

Свойство Type Description
MyClient System.Net.IPEndPoint
State SOCKS5States

Méthodes publiques

Méthode Description
DebugError ( string msg ) : void
DebugInfo ( string msg ) : void
DebugWarn ( string msg ) : void
Process ( MemoryStream stream, NetworkStream connection ) : bool

Processes bytes received from client

Respond ( IPacket packet, NetworkStream connection ) : bool

Writes a given packet to the client

SOCKS5Server ( IPEndPoint client ) : System

Method Details

DebugError() public static méthode

public static DebugError ( string msg ) : void
msg string
Résultat void

DebugInfo() public static méthode

public static DebugInfo ( string msg ) : void
msg string
Résultat void

DebugWarn() public static méthode

public static DebugWarn ( string msg ) : void
msg string
Résultat void

Process() public méthode

Processes bytes received from client
public Process ( MemoryStream stream, NetworkStream connection ) : bool
stream System.IO.MemoryStream
connection NetworkStream
Résultat bool

Respond() public méthode

Writes a given packet to the client
public Respond ( IPacket packet, NetworkStream connection ) : bool
packet IPacket IPacket packet
connection NetworkStream
Résultat bool

SOCKS5Server() public méthode

public SOCKS5Server ( IPEndPoint client ) : System
client System.Net.IPEndPoint
Résultat System

Property Details

MyClient public_oe property

public IPEndPoint,System.Net MyClient
Résultat System.Net.IPEndPoint

State public_oe property

public SOCKS5States State
Résultat SOCKS5States