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§
- client
- TCP client compatible with
embedded-nal-async
traits.
Structs§
- TcpReader
- The reader half of a TCP socket.
- TcpSocket
- A TCP socket.
- TcpWriter
- The writer half of a TCP socket.
Enums§
- Accept
Error - Error returned by
TcpSocket::accept
. - Connect
Error - Error returned by
TcpSocket::connect
. - Error
- Error returned by TcpSocket read/write functions.
- State
- The state of a TCP socket, according to RFC 793.