pub async fn run_thread_server(
cfg: Config,
port_tx: Option<Sender<u16>>,
) -> Result<()>Expand description
Run server with thread-based architecture
ยงArguments
cfg- Server configurationport_tx- Optional channel to communicate the selected port back to caller This is used when the configured port is unavailable and a random port is selected