[][src]Module runtime::net

Networking primitives for asynchronous TCP/UDP communication.

This module provides networking functionality for the Transmission Control and User Datagram Protocols, as well as types for IP and socket addresses.

Organization

  • TcpListener and TcpStream provide functionality for communication over TCP
  • UdpSocket provides functionality for communication over UDP
  • Other types are return or parameter types for various methods in this module

Modules

tcp

Asynchronous TCP bindings.

udp

Asynchronous UDP bindings.

Structs

TcpListener

A TCP socket server, listening for connections.

TcpStream

A TCP stream between a local and a remote socket.

UdpSocket

A UDP socket.