int myRecon(char *server,int retrycount, int retries) { int retriesremaining; int minutesremaining; char buffer[1024]; retriesremaining = retries - retrycount; minutesremaining = 2*retriesremaining; // skip message if retries > retrycount if (retries > retrycount) { sprintf(buffer, "Lost connection with the Licence Server.\nIt's most likely your Internet connection is broken.\nAttempting to reconnect every 2 minutes.\nIf the connection is not working in %d minutes, CIRCLY will automatically close, so the Licence can be returned to the Licence Server.\n\nretrycount=%d, retries=%d", minutesremaining,retrycount,retries); MessageBox( NULL, buffer, "Connection Status", MB_OK ); } return(0); }
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE