Method GetAvailablePort
GetAvailablePort()
Find an open network listen port on the local system
Declaration
protected static int GetAvailablePort()
Returns
| Type | Description |
|---|---|
| Int32 | a system assigned port, or 0 if none are available |
Find an open network listen port on the local system
protected static int GetAvailablePort()
| Type | Description |
|---|---|
| Int32 | a system assigned port, or 0 if none are available |