ADS Re-connection

ADS Re-connection

Postby fraxzi » Tue Aug 05, 2008 5:42 am

Hello All,


I have this situation Using xHarbour 1.0b and ADS 8.1:

I successfully connected using AdsConnect60(....), something happend with my ADSL internet connection and my communication has been cutoff...

ADS generated '[6313] General communication failure' with that matter.

Now, connection resumed (somehow), inside my program, calls again the procedure to reconnect with the same parameter to AdsConnect60().... IT WONT CONNECT ANYMORE.


what I am trying to do is have auto reconnect with ads if the internet connection fails and resume again without the user restarting the program.


any help ADS expert....


regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby fraxzi » Thu Aug 07, 2008 1:02 pm

I solved the issue on reconnection by adding the following to ADS.INI :idea:

[Settings]
RETRY_ADS_CONNECTS = 1



hope this helps others too.


Regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby carlos vargas » Thu Aug 07, 2008 4:03 pm

Thanks for the tips. :-)
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests