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

Added ICMP Packet ID to distinguish ICMP replies in multithreading environment #15

Merged
merged 2 commits into from
Aug 29, 2018

Conversation

webfrank
Copy link
Contributor

When using the library to ping different hosts simultaneously the previous implementation, not setting/checking ICMP packet ID, will mix replies.

@webfrank webfrank mentioned this pull request Aug 22, 2017
@gm42
Copy link

gm42 commented Aug 28, 2017

Isn't this a duplicate of #3?

Edit: I ended up cherry-picking your version and other commits on my fork: https://github.com/gm42/go-ping

@corny
Copy link

corny commented Mar 19, 2018

Our ping package also solves this issue.

@sparrc sparrc merged commit d046b24 into go-ping:master Aug 29, 2018
@sparrc
Copy link
Member

sparrc commented Aug 29, 2018

thank you for the contribution!

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

Successfully merging this pull request may close these issues.

None yet

4 participants