#!/bin/bash
mkdir -p ./{res,log}
measlat -h 127.0.0.1 -p 9000 > /dev/null 2>&1 # Used to wait for connections
measlat -h 127.0.0.1 -p 9000 -c $1 -i $2 -s $3 > ./res/witness.csv 2> ./log/client-measlat-stderr.log