rocket::listener

Module tcp

Source
Expand description

TCP listener.

§Configuration

Reads the following configuration parameters:

parametertypedefaultnote
addressEndpoint127.0.0.1must be tcp:ip
portu168000replaces the port in address

Structs§

  • A TCP socket server, listening for connections.
  • A TCP stream between a local and a remote socket.