def get_open_port() -> int:
free_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<EOL>free_socket.bind(("<STR_LIT>", <NUM_LIT:0>))<EOL>free_socket.listen(<NUM_LIT:1>)<EOL>port = free_socket.getsockname()[<NUM_LIT:1>]<EOL>free_socket.close()<EOL>return port<EOL>
Gets a PORT that will (probably) be available on the machine.
It is possible that in-between the time in which the open PORT of found and when it is used, another process may
bind to it instead.
:return: the (probably) available PORT