Page 1 of 1

ADS Re-connection

Posted: Tue Aug 05, 2008 5:42 am
by fraxzi
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,

Posted: Thu Aug 07, 2008 1:02 pm
by fraxzi
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,

Posted: Thu Aug 07, 2008 4:03 pm
by carlos vargas
Thanks for the tips. :-)