Function arti_bench::serve_payload
source · 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.