Processing timeout

4

I am doing an integration with SAT, when I can not communicate with the equipment the application hangs. Is there any way I can set a wait time for this process to run, canceling the operation when timeout is reached?

    
asked by anonymous 24.06.2015 / 13:54

1 answer

1

Do with thread and set a timeout for the thread, so you will call the SAT within the thread and if any problem occurs, the thread timeout will be reached and the system will exit.

    
14.08.2015 / 23:17