开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜