pysys.utils.allocport module¶
-
pysys.utils.allocport.
getEphemeralTCPPortRange
()[source]¶ Returns the range of TCP ports the operating system uses to allocate ephemeral ports from i.e. the ports allocated for the client side of a client-server connection. Returned as a tuple, (ephemeral_low, ephemeral_high) or raises exception on error.