Closed ckerens closed 1 year ago
Thanks for the PR. I've merged it and published a new version.
I know you edited your initial issue to remove the discussion point about Int vs double but I'd still be open to discussing it if that's something you still care about.
I changed my mind on the topic. I couldn't think of a good enough usecase to justify inconsistent behavior across platforms or potentially breaking existing dependencies.
The Windows ping command expects
timeout
in milliseconds, but is getting a default value of2
.On line 46,
timeout
should be multiplied by 1000: https://github.com/point-source/dart_ping/blob/fd187809108ee5ee6108e33462206498b2b50257/dart_ping/lib/src/ping/windows_ping.dart#L43-L48