Module std::netUnstable [-] [+] [src]

Networking primitives for TCP/UDP communication

NOTE: This module is very much a work in progress and is under active development. At this time it is still recommended to use the old_io module while the details of this module shake out.

Structs

Ipv4Addr

Representation of an IPv4 address.

Ipv6Addr

Representation of an IPv6 address.

LookupHost

An iterator over SocketAddr values returned from a host lookup operation.

SocketAddr

Representation of a socket address for networking applications

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

Enumeration of possible IP addresses

Ipv6MulticastScope
Shutdown

Possible values which can be passed to the shutdown method of TcpStream and UdpSocket.

Traits

ToSocketAddrs

A trait for objects which can be converted or resolved to one or more SocketAddr values.

Functions

lookup_host

Resolve the host specified by host as a number of SocketAddr instances.