zerodds-transport-tcp
Layer 2 — Wire (TCP). RTPS-over-TCP transport.
- Source: crates/transport-tcp
- API docs: docs.rs/zerodds-transport-tcp
RTPS-over-TCP per DDSI-RTPS 2.5 §9.4 + §9.5: length-prefix framing + a ZeroDDS 16-byte handshake + Cyclone-compat mode + connection pool.
Spec anchors
- DDSI-RTPS 2.5 §9.4 + §9.5 — RTPS-over-TCP wire format.
- ZeroDDS TCP-PSM handshake (BindConnection).
Quick start
Bind an RTPS-over-TCP listener and accept a connection (length-prefix framing + the ZeroDDS handshake):
use std::net::Ipv4Addr;
use zerodds_transport_tcp::TcpTransport;
// Listen for RTPS-over-TCP connections on the well-known DDS port
let tcp = TcpTransport::bind_v4(Ipv4Addr::UNSPECIFIED, 7400)?;
tcp.accept_one()?; // accept one inbound connection
Modules
tcp_transport—TcpTransport(bind_v4 / bind_v6 / accept_one) + connection pool.framing— length-prefix frame codec.handshake— the ZeroDDS 16-byte BindConnection handshake + Cyclone-compat mode.
Coverage & tests
Coverage ledger: zerodds-tcp-transport-1.0 (DDSI-RTPS §9.4/§9.5 + vendor handshake). 55 tests (50 lib + 5 integration); run cargo test -p zerodds-transport-tcp.
Stability
1.0.0-rc.3. 55 tests green (50 lib + 5 integration).
zerodds-transport-tcp
Layer 2 — Wire (TCP). RTPS-over-TCP-Transport.
- Quelle: crates/transport-tcp
- API-Docs: docs.rs/zerodds-transport-tcp
RTPS-over-TCP nach DDSI-RTPS 2.5 §9.4 + §9.5: Length-Prefix-Framing + ZeroDDS-eigener 16-Byte-Handshake + Cyclone-Compat-Mode + Connection-Pool.
Spec-Anker
- DDSI-RTPS 2.5 §9.4 + §9.5 — RTPS-over-TCP-Wire-Format.
- ZeroDDS-TCP-PSM-Handshake (BindConnection).
Quick Start
Einen RTPS-over-TCP-Listener binden und eine Verbindung annehmen (Length-Prefix-Framing + ZeroDDS-Handshake):
use std::net::Ipv4Addr;
use zerodds_transport_tcp::TcpTransport;
// Listen for RTPS-over-TCP connections on the well-known DDS port
let tcp = TcpTransport::bind_v4(Ipv4Addr::UNSPECIFIED, 7400)?;
tcp.accept_one()?; // accept one inbound connection
Module
tcp_transport—TcpTransport(bind_v4 / bind_v6 / accept_one) + Connection-Pool.framing— Length-Prefix-Frame-Codec.handshake— der ZeroDDS-16-Byte-BindConnection-Handshake + Cyclone-Compat-Mode.
Coverage & Tests
Coverage-Ledger: zerodds-tcp-transport-1.0 (DDSI-RTPS §9.4/§9.5 + Vendor-Handshake). 55 Tests (50 lib + 5 Integration); cargo test -p zerodds-transport-tcp.
Stabilität
1.0.0-rc.3. 55 Tests grün (50 lib + 5 Integration).