C# Class SimPlaza.UDProxy.UDP.UDPConnection

Show 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 static property

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

MyClient public static property

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

MyThread public static property

public static Thread MyThread
return Thread

MyUDP public static property

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

TargetIP public static property

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

TargetPorts public static property

public static List TargetPorts
return List

TotalDown public static property

public static int TotalDown
return int

TotalUp public static property

public static int TotalUp
return int