如何检查代理状态 [英] how to check proxy status

查看:121
本文介绍了如何检查代理状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些帮助,首先即时使用VB.NET



i需要使用代理建立httpwebrequest,问题不是怎么做但是我的问题是我在列表框中有一个代理列表,例如,我需要在webrequest使用之前逐个检查这些代理是否有效....以便丢弃坏(timedout) )代理并且只使用有效的工作人员



所以任何帮助

i need some help in here, First im using VB.NET

i need to establish a httpwebrequest using a proxy, the problem is not how to do that but my problem is that i have a list of proxies in a listbox for example , and i need to check those proxies one by one if they are valid or not before being used by the webrequest.... so as to discard the bad (timedout) proxies and only use the valid working ones

so any help

推荐答案

唯一可靠的方法检查代理是否正常运行是试图通过它来发出请求。



你可以做一个TCP / IP Ping,但那只会告诉你如果目标服务器上的网络堆栈正在运行并正常运行。它不会告诉你关于在那个盒子上运行的代理服务器的任何信息。
The only reliable way to check to see if a proxy is functioning is to try and make a request through it.

You could do a TCP/IP Ping, but that''ll only tell you if the network stack on the target server is running and functioning. It won''t tell you anything about the proxy server running on that box.


这个网站可能有所帮助: - www.proxynova.com/online-proxy-checker/ [ ^ ]
This site may help :- www.proxynova.com/online-proxy-checker/[^]


这篇关于如何检查代理状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆