C# Class SimPlaza.UDProxy.UDP.UDPConnection

Mostra file Open project: Gnu32/UDProxy

Public Properties

Property Type Description
ExternalIP System.Net.IPAddress
MyClient System.Net.IPEndPoint
MyThread Thread
MyUDP System.Net.Sockets.UdpClient
TargetIP System.Net.IPAddress
TargetPorts List
TotalDown int
TotalUp int

Public Methods

Method Description
HandleIncoming ( byte data, IPEndPoint sender ) : void
HandleOutgoing ( byte data ) : void
StreamLoop ( ) : void
TryBegin ( PacketReplyRequest &reply, IPEndPoint client ) : void

Private Methods

Method Description
DebugError ( string msg ) : void
DebugInfo ( string msg ) : void
DebugWarn ( string msg ) : void

Method Details

HandleIncoming() public static method

public static HandleIncoming ( byte data, IPEndPoint sender ) : void
data byte
sender System.Net.IPEndPoint
return void

HandleOutgoing() public static method

public static HandleOutgoing ( byte data ) : void
data byte
return void

StreamLoop() public static method

public static StreamLoop ( ) : void
return void

TryBegin() public static method

public static TryBegin ( PacketReplyRequest &reply, IPEndPoint client ) : void
reply PacketReplyRequest
client System.Net.IPEndPoint
return void

Property Details

ExternalIP public_oe static_oe property

public static IPAddress,System.Net ExternalIP
return System.Net.IPAddress

MyClient public_oe static_oe property

public static IPEndPoint,System.Net MyClient
return System.Net.IPEndPoint

MyThread public_oe static_oe property

public static Thread MyThread
return Thread

MyUDP public_oe static_oe property

public static UdpClient,System.Net.Sockets MyUDP
return System.Net.Sockets.UdpClient

TargetIP public_oe static_oe property

public static IPAddress,System.Net TargetIP
return System.Net.IPAddress

TargetPorts public_oe static_oe property

public static List TargetPorts
return List

TotalDown public_oe static_oe property

public static int TotalDown
return int

TotalUp public_oe static_oe property

public static int TotalUp
return int