Re: How to know connected or not?
- Posted by Gerardo <gebrandariz at YAHOO.COM> Jun 03, 2001
- 376 views
Were it so easy. I have two PCs connected thru a TCP/IP LAN, one of them with an Internet connection, the second also indirectly connectable by means of Vsocks, a proxy server/client & firewall. Vsocks can be configured for a dual connection or a single, any of the PCs in the LAN (though the one with the Internet connection is always connected, whether you spawn an Internet app or not. This means that, for example, in the PC with the actual, physical connection, I maintain an IP address of 192.168.1.1 (subnet mask 255.255.0.0), whether I'm online or not. Since obviously my ISP will assign me a dynamic address while I'm online, at this moment my IP address is "192.168.1.1, 200.42.140.20" I've also used GO Express Search, a downloadable metacrawler that queries in the background, so every result you get to view doesn't appear to come from the Internet but from localhost (port 1234). So, how to test whether online or not? Basically I agree with Kat: try something, then test the results. However, I would take this as conclusive only if you get a positive. A negative I would interpret only as meaning I didn't get a result, not that I wasn't online. Too many times I've had my ISP hang on me for several minutes, then restarting at their discretion. Gerardo ----- Original Message ----- From: <gertie at ad-tek.net> To: "EUforum" <EUforum at topica.com> Sent: Sunday, June 03, 2001 3:54 PM Subject: Re: How to know connected or not? > On 3 Jun 2001, at 12:15, martin.stachon at worldonline.cz wrote: > > > > If the computer's IP address = 127.0.0.1, then user is offline. (If he is > > not connected into other network) > > But i use 127.0.0.1 even if i am online! It's the localhost address, and should be valid > all the time. It's a cute trick to tell the HOST file that all the internet webpage > advertisers live at 127.0.0.1, so even if the proxy filters are off, you don't see the > advertising banners when web browsing. I have 1,642 advertiser domains pointed to > null. > > Kat