pub(crate) fn serve_payload(
listener: &TcpListener,
send: &Arc<[u8]>,
receive: &Arc<[u8]>,
) -> Vec<JoinHandle<Result<()>>>
Expand description
Runs the benchmarking TCP server, using the provided TCP listener and set of payloads.
pub(crate) fn serve_payload(
listener: &TcpListener,
send: &Arc<[u8]>,
receive: &Arc<[u8]>,
) -> Vec<JoinHandle<Result<()>>>
Runs the benchmarking TCP server, using the provided TCP listener and set of payloads.