![]() |
how to check if the socket is still connected?
In my program, i have a socket that always connected to server.
I whish to check the socket is still connected to server everytime message send through the socket.. How to do this? :
|
You can only know that you had a successful connection after a successful transaction. In the absence of separate control/status signals, that's as good as it gets. It doesn't project into the future. Is that what you're asking?
|
| All times are GMT -5. The time now is 10:21 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC