Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by Caleb
Sun, 11 Mar 2007 21:42
Attention Gambit >> Disconnects
Author: Caleb
Date: Sun, 11 Mar 2007 21:42
Date: Sun, 11 Mar 2007 21:42
20 lines
1224 bytes
1224 bytes
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
Re: Attention Gambit >> Disconnects
Author: George Tokas
Date: Tue, 20 Mar 2007 21:53
Date: Tue, 20 Mar 2007 21:53
28 lines
2050 bytes
2050 bytes
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@kjl.com> ������ ��� ������
news:45f469b4$1@newsgroups.borland.com...
>
>
> 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads