My use case is to force a tunnel to a particular subnet to be activated within a data center at the remote end of a VPN connection into that data center.
We have been using a manual approach using 2 minutes worth of Pings to force the remote tunnel creation, and I wanted to automate that within my app. But subsequently I discovered that I could just retry a TCP socket connection every 5 seconds for 2 minutes and that would force the tunnel creation just like the manual Pings did. So I found a simple workaround that doesn’t need to Ping. Cheers, Joe > On Apr 10, 2016, at 10:18 PM, Christian Schmitz > <[email protected]> wrote: > >> 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? > > why do you need ping? > > Normally you can only test if you have internet if you actually try to do a > connection. > > DNS may not be available. Ping may be blocked. A Proxy may be required. > And still we can load via CURL through proxy. > > Sincerely > Christian > > -- > Read our blog about news on our plugins: > > http://www.mbsplugins.de/ > > _______________________________________________ > 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
