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