Hi Rick,
Is it unsafe to try and ping random domains inside of a WWWC method? I ask because when using ping to hit my own domain, my app locks in what appears to be a loop. Since its a windows api call I cannot easily debug, but here's a screenshot of where the hang is.
I do have a firewall in front of the domain (sophio.com).
Thanks in advance.
Not a good idea - if you try to ping something that is slow or hanging you'll hang your app as you can't specify a timeout - it'll hang for 15 seconds which is the default TCP/IP timeout window.
+++ Rick ---
I was thinking you might tell me 'dude, upgrade to latest, your ipstuff is old or dotnetbridge...' Duly noted!
ps: I was asked by a third party to 'ping' the endpoint if we can't connect which would in turn 'turn it on' (ridiculous).
Are you sure that 'ping' in this context means an actual PING request or whether 'ping' just means hit the site once and it'll start up. Thinking the latter. I doubt they have infrastructure to intercept Ping requests and use that to start up a server - that would be beyond dumb and non-standard.
+++ Rick ---