[][src]Crate solana_netutil

The netutil module assists with networking

Structs

UdpSocketPair

A data type representing a public Udp socket

Functions

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|

multi_bind_in_range
parse_host
parse_host_port
parse_port_or_addr
parse_port_range

Type Definitions

IpEchoServer
PortRange