If there is packet loss between server->client, the server show higher send and receive numbers then the client. This doesn't make sense.
The client should update sent_pkts and sent_size when sending and not when getting ack.
It should also decrease not_acked_pkts by 1.
I will also be useful to see nack_pkts in the report.
https://github.com/reith/udpstress/blob/master/src/genserver_client.erl#L83
https://github.com/reith/udpstress/blob/master/src/genserver_client.erl#L93
If there is packet loss between server->client, the server show higher send and receive numbers then the client. This doesn't make sense.
The client should update sent_pkts and sent_size when sending and not when getting ack.
It should also decrease not_acked_pkts by 1.
I will also be useful to see nack_pkts in the report.
https://github.com/reith/udpstress/blob/master/src/genserver_client.erl#L83
https://github.com/reith/udpstress/blob/master/src/genserver_client.erl#L93