我试图把我的外部IP放在一个标签中,所以我正在下载基于网站的结果,但是当我通过VPN更改我的IP时,应用程序崩溃了,我相信这是因为它不检查if它试图让绳子掉下来。 在窗体加载... If Label1.Text = LastIp Then
Try
Dim wc As New WebClient
Label1.Text = wc.DownloadString(
我对浏览器如何从网站获取数据存在疑问。我读这两个环节: how can an application use port 80/HTTP without conflicting with browsers? 和 Port 80 blocked on my ISP so how my browser still works? 有了这个,我明白,浏览器打开一个局部随机源端口和连接到网站的端口80。现在我