[−][src]Function solana_net_utils::ip_echo_server
pub fn ip_echo_server(tcp: TcpListener) -> IpEchoServer
Starts a simple TCP server on the given port that echos the IP address of any peer that connects. Used by |get_public_ip_addr|
pub fn ip_echo_server(tcp: TcpListener) -> IpEchoServer
Starts a simple TCP server on the given port that echos the IP address of any peer that connects. Used by |get_public_ip_addr|