 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Caleb Guest
|
Posted: Mon Mar 12, 2007 2:42 am Post subject: Attention Gambit >> Disconnects |
|
|
How can I tell if the client program has become disconnected
from the server? And then reconnect?
I have tried checking
Myconnection->Connected
But it reads 'true' when client is diconnected from Internet.
I have tried placing the adotable statements in a try catch
and reconnecting in the catch{}
Also, using BCB6, the client program automatically connects
when launched -- the password is not entered.
Thanks
Caleb |
|
| Back to top |
|
 |
George Tokas Guest
|
Posted: Wed Mar 21, 2007 2:53 am Post subject: Re: Attention Gambit >> Disconnects |
|
|
Send some data that will be ignored by the client...
The server socket will then notifies about the disconnection and the
connected array will be updated..
George Tokas.
Ο "Caleb" <sdafasd (AT) kjl (DOT) com> έγραψε στο μήνυμα
news:45f469b4$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
How can I tell if the client program has become disconnected
from the server? And then reconnect?
I have tried checking
Myconnection->Connected
But it reads 'true' when client is diconnected from Internet.
I have tried placing the adotable statements in a try catch
and reconnecting in the catch{}
Also, using BCB6, the client program automatically connects
when launched -- the password is not entered.
Thanks
Caleb |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|