std:net

This module provides basic TCP/UDP communication primitives.

Structs, Traits, and Enums

  • StructsAddrParseError (error returned when parsing an IP or socket address), Incoming (infinite iterator over connections from TcpListener), Ipv4Addr (represents an IPv4 address), Ipv6Addr (represents an IPv6 address), SocketAddrV4 (IPv4 socket address), SocketAddrV6 (IPv6 socket address), TcpListener (represents a socket server), TcpStream (represents a TCP stream between the local and remote sockets), and UdpSocket (UDP socket).
  • EnumsIpAddr (either an IPv4 or IPv6 address), Shutdown (values passed to the shutdown method of TcpStream), and SocketAddr (socket address for networking applications).
  • TraitToSocketAddrs (object that can be converted to or resolved from one or more SocketAddr values).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset