pub fn ip_echo_server(
tcp_listener: TcpListener,
num_server_threads: NonZeroUsize,
shred_version: Option<u16>,
) -> IpEchoServer👎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.Expand description
Starts a simple TCP server that echos the IP address of any peer that connects Used by functions like |get_public_ip_addr| and |get_cluster_shred_version|