Structs§
Functions§
- bind_
common_ in_ range_ with_ config - Find a port in the given range with a socket config that is available for both TCP and UDP
- bind_
common_ with_ config - binds both a UdpSocket and a TcpListener on the same port
- bind_
gossip_ port_ in_ range - bind_
in_ range_ with_ config - bind_
more_ with_ config - bind_to
- bind_
to_ localhost_ unique - Bind a
UdpSocket
to a unique port. - bind_
to_ with_ config - bind_
two_ in_ range_ with_ offset_ and_ config - bind_
with_ any_ port_ with_ config Deprecated - localhost_
port_ range_ for_ tests - Retrieve a free 25-port slice for unit tests
- multi_
bind_ in_ range_ with_ config - binds num sockets to the same port in a range with config
- unique_
port_ range_ for_ tests - When running under nextest, this will try to provide a unique slice of port numbers (assuming no other nextest processes are running on the same host) based on NEXTEST_TEST_GLOBAL_SLOT variable The port ranges will be reused following nextest logic.