Struct embedded_nal_tcpextensions::BufferedStack [−][src]
pub struct BufferedStack<ST: TcpClientStack, const N: usize>(_);
Expand description
A wrapper around a TcpStack that provides TcpExactStack
The implementation is comparatively crude: there’s just a per-socket buffer that data is copied into on demand.
Using this is generally not recommended – TCP stacks usually have the buffers in there somewhere, and and “just” need to expose them.
Implementations
Trait Implementations
type TcpSocket = BufferedSocket<ST::TcpSocket, N>
type TcpSocket = BufferedSocket<ST::TcpSocket, N>
The type returned when we create a new TCP socket
Open a socket for usage as a TCP client. Read more
Connect to the given remote host and port. Read more
Check if this socket is connected
Write to the stream. Read more
Receive data from the stream. Read more