👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Structs§
- Socket
Configuration Deprecated
Functions§
- bind_
common_ in_ range_ with_ config Deprecated - Find a port in the given range with a socket config that is available for both TCP and UDP
- bind_
common_ with_ config Deprecated - binds both a UdpSocket and a TcpListener on the same port
- bind_
gossip_ port_ in_ range Deprecated - bind_
in_ range_ with_ config Deprecated - bind_
more_ with_ config Deprecated - bind_to
Deprecated - bind_
to_ localhost_ unique Deprecated - Bind a
UdpSocketto a unique port. - bind_
to_ with_ config Deprecated - bind_
two_ in_ range_ with_ offset_ and_ config Deprecated - bind_
with_ any_ port_ with_ config Deprecated - localhost_
port_ range_ for_ tests Deprecated - Retrieve a free 25-port slice for unit tests
- multi_
bind_ in_ range_ with_ config Deprecated - binds num sockets to the same port in a range with config
- unique_
port_ range_ for_ tests Deprecated - 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.