Skip to main content

run_server

Function run_server 

Source
pub fn run_server<R: Reporter>(
    threads: usize,
    control: &RunControl,
    reporter: &R,
) -> Result<Stats>
Expand description

Run the server peer to completion, reading the protocol from stdin and writing it to stdout. Diagnostics must go to stderr (never stdout, which is the wire).

ยงErrors

Returns a handshake, protocol, walk, or I/O error.