-
Notifications
You must be signed in to change notification settings - Fork 344
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
How to send packets size with 60000? #34
Comments
I believe this may have been fixed by #45, can you update to the latest commit of go-ping and try again? |
I think there are still issues with the size option. When I set When I set When I set
|
I'm going to hazard a guess that this has something to do with the code still referencing timeSliceLength, which is used as a constant to initialize the size of the packet sent. This constant likely needs to be removed and the logic around it changed. https://github.com/sparrc/go-ping/blob/ef3ab45e41b017889941ea5bb796dd502d2b5a1b/ping.go#L514 |
Yea, that bit didn't look right to me at all, but I didn't have time to poke around. |
Using the latest commit on
ICMP packets have an 8-byte header so this all seams correct to me. If you set a (IMHO silly) packet size |
when i set pinger.Size = 60000 ,but packets is not send
The text was updated successfully, but these errors were encountered: