Available on riot_module_sock_tcp and crate feature with_embedded_nal only.
Expand description

An implementation of the embedded_nal (Network Abstradtion Layer) TCP traits based on RIOT sockets

This is vastly distinct from the UDP version as it requires vastly different workarounds (and because it was implemented when embedded-nal had already switched over to &mut stack).


The implementation of TcpExactStack is highly naïve, and may panic already with well-behaved peers, let alone an adversarial one.


  • A view on the RIOT socket stack that is prepared for a single listening socket that can accept QUEUELEN connections simultaneously.
  • Socket for a given pool.