I need to develop a few lines to check if a running program has internet access in general, or at least if it can access a specific domain or ip.
How do you implement this? It should be platform-independent so using bash or cmd is not the optimal solution.
Cheers, Tate