Article View: borland.public.cppbuilder.database.ado
Article #272Re: Attention Gambit >> Disconnects
From: 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
Technical Details
Message-ID:
<1174427596.267246@athprx04>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!news.astraweb.com!newsrouter-eu.astraweb.com!tiscali!newsfeed2.ip.tiscali.net!seanews2.seabone.net!newsfd02.forthnet.gr!not-for-mailReferences:
<45f469b4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,47c601a18b5530e8 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!news.astraweb.com!newsrouter-eu.astraweb.com!tiscali!newsfeed2.ip.tiscali.net!seanews2.seabone.net!newsfd02.forthnet.gr!not-for-mail From: "George Tokas" <jtokas@the.forthnet.gr> Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Attention Gambit >> Disconnects Date: Tue, 20 Mar 2007 23:53:01 +0200 Organization: FORTHnet S.A., Atthidon 4, GR-17671 Kalithea, Greece, Tel: +30 2109559000, Fax: +30 2109559333, url: http://www.forthnet.gr Lines: 30 Message-ID: <1174427596.267246@athprx04> References: <45f469b4$1@newsgroups.borland.com> NNTP-Posting-Host: athprx04.forthnet.gr X-Trace: athprx02.forthnet.gr 1174427596 6973 193.92.150.70 (20 Mar 2007 21:53:16 GMT) X-Complaints-To: abuse@forthnet.gr NNTP-Posting-Date: Tue, 20 Mar 2007 21:53:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original Cache-Post-Path: newsfd02!unknown@194.219.155.65