[][src]Crate solana_net_utils

The net_utils module assists with networking

Structs

UdpSocketPair

A data type representing a public Udp socket

Functions

bind_common
bind_common_in_range
bind_in_range
bind_to
find_available_port_in_range
get_public_ip_addr

Determine the public IP address of this machine by asking an ip_echo_server at the given address

ip_echo_server

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|

is_host
is_host_port
multi_bind_in_range
parse_host
parse_host_port
parse_port_or_addr
parse_port_range
verify_reachable_ports

Type Definitions

IpEchoServer
PortRange