Skip to main content

run_responder

Function run_responder 

Source
pub fn run_responder<C: Read + Write, R: Reporter>(
    conn: &mut C,
    filter: &Filter,
    threads: usize,
    control: &RunControl,
    reporter: &R,
) -> Result<Stats>
Expand description

Drive the responder side over an established connection: perform the responder handshake, then play the opposite role to the initiator. Used by ripsync --server (over stdio) and by tests (over an in-process pipe).

ยงErrors

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