embassy-net

Crates

git

Versions

default

Flavors

Skip to main content

Module tcp

Module tcp 

Source
Expand description

TCP sockets.

Modules§

client
TCP client compatible with embedded-nal-async traits.

Structs§

AcceptToken
A connection attempt accepted from a [TcpListener], returned by [TcpListener::accept].
IfaceHandle
A handle to an interface added to a [Stack].
TcpListener
A TCP listener.
TcpReader
The reader half of a TCP socket.
TcpSocket
A TCP socket.
TcpWriter
The writer half of a TCP socket.

Enums§

AcceptError
Error returned by TcpListener::accept and TcpSocket::accept.
ConnectError
Error returned by TcpSocket::connect.
Error
Error returned by TcpSocket read/write functions.
ListenError
Error returned by TcpListener::listen.
State
The state of a TCP socket, according to RFC 793.