Capturing the exception would be nice. And as I think about it, you are right that I should in case all else fails. I use Asta Client Socket and Asta sever socket.
Still, I want to catch it happening at the client end so that my client doesn't call for tech support after resuming from sleep / hibernation and not being connected to the server. Plus the guy who is paying me has a legitimate e security concern as he would prefer a person logs off before walking away from a connected client.
Is there away for the client to become of aware of an impending sleep / hibernation?
Thanks!
John Ullom
Main Topics
Browse All Topics





by: JonasMalmstenPosted on 2009-06-10 at 18:49:07ID: 24598181
You should be able to capture the exception such that the server simply closes the connection with no error message. Which TCP Server component are you using?