Skip to main content

start

Function start 

Source
pub fn start(
    config: TcpServerConfig,
    tx: EventSender,
    next_id: Arc<AtomicU64>,
) -> Result<()>
Expand description

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

next_id is shared with the node for allocating unique InterfaceIds for each connected client.