concrete.util.net module

concrete.util.net.find_port()

Find and return an available TCP port.

>>> find_port() > 1023
True