check_port_is_in_range(port)
¶
Check that port is a valid port number.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
port
|
int
|
Port to check. |
required |
Raises:
| Type | Description |
|---|---|
PortTypeError
|
When |
PortOutOfRangeError
|
When |
Examples: