C# Class NodeNetAsync.Net.TcpServer

Mostrar archivo Open project: soywiz/NodeNetAsync Class Usage Examples

Protected Properties

Property Type Description
CatchExceptions bool

Public Methods

Method Description
GetActiveNetworkInterfaces ( ) : System.Net.NetworkInformation.NetworkInterface[]
ListenAsync ( int Times = -1 ) : System.Threading.Tasks.Task
TcpServer ( ushort Port, string Bind = "127.0.0.1", bool CatchExceptions = true ) : System

Private Methods

Method Description
GetAvailablePort ( ushort RangeStart = 1025, ushort RangeEnd = ushort.MaxValue, IPAddress BindIp = null, bool IncludeIdlePorts = false ) : ushort
HandleClientInternal ( TcpSocket Socket ) : System.Threading.Tasks.Task

Method Details

GetActiveNetworkInterfaces() public static method

public static GetActiveNetworkInterfaces ( ) : System.Net.NetworkInformation.NetworkInterface[]
return System.Net.NetworkInformation.NetworkInterface[]

ListenAsync() public method

public ListenAsync ( int Times = -1 ) : System.Threading.Tasks.Task
Times int
return System.Threading.Tasks.Task

TcpServer() public method

public TcpServer ( ushort Port, string Bind = "127.0.0.1", bool CatchExceptions = true ) : System
Port ushort
Bind string
CatchExceptions bool
return System

Property Details

CatchExceptions protected_oe property

protected bool CatchExceptions
return bool