Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate and show gaps in summary output #10

Closed
troglobit opened this issue Oct 24, 2020 · 0 comments
Closed

Calculate and show gaps in summary output #10

troglobit opened this issue Oct 24, 2020 · 0 comments

Comments

@troglobit
Copy link
Owner

troglobit commented Oct 24, 2020

We could do quite a bit of statistical analysis, but at least increment a counter every time we don't receive the next expected sequence number (counter).

Like this, for example:

root@n2:/usr/src/mcjoin# ./src/mcjoin -j 225.1.2.4 225.4.3.2
joined group 225.1.2.4 on eth0 ...
joined group 225.4.3.2 on eth0 ...
..................^C
Group 225.1.2.4 received 54 packets, gaps: 0
Group 225.4.3.2 received 54 packets, gaps: 30

Received total: 108 packets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant