Module std::net
[−]
[src]
Networking primitives for TCP/UDP communication.
Structs
| AddrParseError |
An error returned when parsing an IP address or a socket address. |
| Incoming |
An infinite iterator over the connections from a |
| Ipv4Addr |
Representation of an IPv4 address. |
| Ipv6Addr |
Representation of an IPv6 address. |
| 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. |
| LookupHost |
[Unstable] An iterator over |
Enums
| Shutdown |
Possible values which can be passed to the |
| SocketAddr |
Representation of a socket address for networking applications. |
| IpAddr |
[Unstable] An IP address, either a IPv4 or IPv6 address. |
| Ipv6MulticastScope | [Unstable] |
Traits
| ToSocketAddrs |
A trait for objects which can be converted or resolved to one or more
|
Functions
| lookup_addr |
[Unstable] Resolve the given address to a hostname. |
| lookup_host |
[Unstable] Resolve the host specified by |