11-14-2015 07:55 AM - edited 11-14-2015 07:58 AM
I just studied network stream and found some errors in my code if there is no host program in the condition of timeout is -1.
So, I want my application to have a chance to fix the finite realtime.
However, I would like to know how relaunch current (built not vi) application in current application (just re-starting the application)?
In quitting the application, I close the FP.
(Logically, is it possible to relaunch itself?)
It is very tough time to think aobut other's convenience which I have never considered.
But, this is very nice experience to make the perfect program.
11-14-2015 10:41 AM
If your network stream is in its own loop, you can just look to see if there's a connection. If you get the timeout error, close out the connection and try again in the next loop.