C# Class Netty.NetworkUtility

A class that represents a set of Network related functions.
ファイルを表示 Open project: Cayan-LLC/netty Class Usage Examples

Public Methods

Method Description
FindRandomOpenPort ( ) : int

Finds a random open port.

Private Methods

Method Description
IsPortBeingUsed ( int localPort ) : bool

Determines whether the specified port is being used.

Method Details

FindRandomOpenPort() public static method

Finds a random open port.
public static FindRandomOpenPort ( ) : int
return int