Method IsPortAvailable
IsPortAvailable(Int32)
Tests to see if the given port # is already in use
Declaration
protected static bool IsPortAvailable(int port)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | port | port number to test |
Returns
| Type | Description |
|---|---|
| Boolean | true if there is not a listener on the port |