Module std::netStable
[-] [+]
[src]
Networking primitives for TCP/UDP communication.
Structs
AddrParseError | An error returned when parsing an IP address or a socket address. |
Ipv4Addr | Representation of an IPv4 address. |
Ipv6Addr | Representation of an IPv6 address. |
LookupHost | An iterator over |
SocketAddrV4 | An IPv4 socket address which is a (ip, port) combination. |
SocketAddrV6 | An IPv6 socket address. |
TcpListener | A structure representing a socket server. |
TcpStream | A structure which represents a TCP stream between a local socket and a remote socket. |
UdpSocket | A User Datagram Protocol socket. |
Enums
IpAddr | An IP address, either a IPv4 or IPv6 address. |
Ipv6MulticastScope | |
Shutdown | Possible values which can be passed to the |
SocketAddr | Representation of a socket address for networking applications. |
Traits
ToSocketAddrs | A trait for objects which can be converted or resolved to one or more
|
Functions
lookup_addr | Resolve the given address to a hostname. |
lookup_host | Resolve the host specified by |