It is great that you experienced this before your client. Actually, with networking there are many interesting states that you should try to plan on
* local ethernet connection down * gateway connection down * DNS server not correct * failed authentication (when needed) * computer hibernating/sleeping * wifi connection without signal or a weak, often reconnecting signal * bad wifi connection * corrupted packets or not complete web page received * remote server errors * giving time for a dialup connection to make the call * routing problems (for instance using a VPN link to a main gateway and the VPN link goes down) One of my big problems (which is helping my code get stronger) is that I have a tempermental wifi card that sometimes will not transmit (but keeps its IP address). On top of that it sometimes corrupts the packets (I think it is an MTU issue) so I do not always get a complete web page/ image for instance. I ended up making some properties to check for things like how many times has the registration failed, how many errors that I receive for a connection and whenever everything is received AOK, I clear that counter. Sincerely, Shawn Message: 18 Subject: Dead WAN connection and sockets From: "Dennis Birch" <[EMAIL PROTECTED]> Date: Sat, 30 Sep 2006 21:02:17 -0700 I just ran into a situation I thought I was covering. Some of my applications have version check code that uses a HTTPSocket to fetch a small file from the Web that contains the latest version number. Before using the Get method on the HTTPSocket, I check its localAddress property to see if it has an IP address. I thought this was protecting against downed connections. But tonight my DSL modem crapped out temporarily, and my application locked up because the socket was still reporting a valid IP address and the code proceded to calling the HTTPSocket.Get method. Is that expected behavior? If so, is there any other way to work around it? Can I set a timeout on the socket so that such a lockup would be reasonably brief? I discovered this in RB 2006r3 under Mac OS X 10.4.7. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>