Skip to main content

Module backbone

Module backbone 

Source
Expand description

Backbone TCP mesh interface using cross-platform polling.

Server mode: listens on a TCP port, accepts peer connections, spawns dynamic per-peer interfaces. Uses a single poll thread to multiplex all client sockets. HDLC framing for packet boundaries.

Client mode: connects to a remote backbone server, single TCP connection with HDLC framing. Reconnects on disconnect.

Matches Python BackboneInterface.py.

Structs§

BackboneAbuseConfig
Configurable behavior-based abuse detection for inbound peers.
BackboneClientConfig
Configuration for a backbone client interface.
BackboneClientRuntime
BackboneClientRuntimeConfigHandle
BackboneConfig
Configuration for a backbone interface.
BackboneInterfaceFactory
Factory for BackboneInterface.
BackbonePeerMonitor
BackbonePeerStateHandle
BackboneRuntimeConfigHandle
BackboneServerRuntime
Live runtime state for a backbone server interface.

Functions§

start
Start a backbone interface. Binds TCP listener, spawns poll thread.
start_client
Connect and start the reader thread. Returns the writer for the driver.