Skip to content

Wrong client stats #2

@benbro

Description

@benbro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions