You might have to have different methods for mac vs Windows. They handle pings very differently.
Sent from my mobile. [email protected] > On Apr 10, 2016, at 3:43 PM, Joe Huber <[email protected]> wrote: > > I recently started using DarwinPingMBS in a project and discovered it > apparently no longer works on Windows. (.Ping always returns -1 on Windows) > It seems to still work on OSX and returns the round trip time. (To clarify > the documentation, 0 only means that the call to .Ping succeeded, not that > the host was reachable.) > > Searching the release notes I find it’s also been deprecated. The MBS FAQ has > some alternate recommendations, but none of them seem great nor consistent > cross platform. > > So does anyone know of a good way to do a Ping on OSX and Windows? I’d even > settle for a way to read and write IP Datagrams and code up the Ping myself. > Ideas? > > Thanks, Joe > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
