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

icmp AddIPAddr ping lots of ip , return unstable #37

Open
CentUser opened this issue Oct 19, 2018 · 1 comment
Open

icmp AddIPAddr ping lots of ip , return unstable #37

CentUser opened this issue Oct 19, 2018 · 1 comment

Comments

@CentUser
Copy link

CentUser commented Oct 19, 2018

p.AddIPAddr(ra). I added lots of ra on p perhaps thousands of it.
OnRecv I record the recieved IP and turn on a bool.
p.Run, could return with no error, yet, the recieved is not stable.
While I know Ping is not stable on network, but it should not be too unreliable( I devided the thousands of IPs to 250 a group, and ping them at a time, the result could be more stable).
For my situation, I pinged 10000 IPs, if I ping them using AddIPAddr, I could only get perhaps 1000 IPs alive, But if I change to 250 IPs a group and ping all the 10000 IPs for 40 groups, I could get perhaps 8000 IPs alive.
Does anyone have an idea on this situation?

@CentUser CentUser changed the title icmp AddIP icmp AddIPAddr ping lots of ip , return unstable Oct 19, 2018
@zh7606559342012
Copy link

i meet the same trouble,unstable results

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

2 participants