Structs§
Functions§
- build_
keys_ and_ certs_ for_ tls - build_
keys_ and_ certs_ for_ tls_ ext - get_
listener_ on_ free_ port - get_
random_ available_ port - Finds a random open port available for listening at, by spawning a TCP server with port “zero” (which prompts the OS to just use any available port). Between calling this function and trying to bind to this port, the port may be given to another process, so this must be used with care (since here we only use it for tests, it’s mostly okay).