Skip to main content

Module tcp_server

Module tcp_server 

Source
Expand description

TCP server interface with HDLC framing.

Accepts client connections and spawns per-client reader threads. Each client gets a dynamically allocated InterfaceId. Matches Python TCPServerInterface from TCPInterface.py.

Structs§

TcpServerConfig
Configuration for a TCP server interface.

Functions§

start
Start a TCP server. Spawns a listener thread that accepts connections and per-client reader threads. Returns immediately.