Is there a way to check if my proxy is online?
I need to know if I can access internet from my proxy, I'm doing this now:
if((system("wget -q www.g开发者_JAVA技巧oogle.it -O /dev/null")); // I don't have access.
Is there a better way to solve this problem? Is there a function in C?
Thank you very much.
Everyone loves this guide.
http://beej.us/guide/bgnet/
It'll help you learn how to get to grips with networking programming in C very easily.
精彩评论