C# Class NodeNetAsync.Net.TcpServer

Afficher le fichier Open project: soywiz/NodeNetAsync Class Usage Examples

Protected Properties

Свойство Type Description
CatchExceptions bool

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetActiveNetworkInterfaces ( ) : System.Net.NetworkInformation.NetworkInterface[]
Résultat System.Net.NetworkInformation.NetworkInterface[]

ListenAsync() public méthode

public ListenAsync ( int Times = -1 ) : System.Threading.Tasks.Task
Times int
Résultat System.Threading.Tasks.Task

TcpServer() public méthode

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

Property Details

CatchExceptions protected_oe property

protected bool CatchExceptions
Résultat bool