Expand description
TCP sockets.
§Listening
embassy-net
does not have a TcpListener
. Instead, individual TcpSocket
s can be put into
listening mode by calling TcpSocket::accept
.
Incoming connections when no socket is listening are rejected. To accept many incoming connections, create many sockets and put them all into listening mode.
Modules§
- TCP client compatible with
embedded-nal-async
traits.
Structs§
- The reader half of a TCP socket.
- A TCP socket.
- The writer half of a TCP socket.
Enums§
- Error returned by
TcpSocket::accept
. - Error returned by
TcpSocket::connect
. - Error returned by TcpSocket read/write functions.
- The state of a TCP socket, according to RFC 793.