Hi,
I have a small app that i want to be processing, while at the same time, i want it to be looking for an ftp server. I wrote a script to connect to the server and am running the script from a system command. The problem i have is that the system command halts the apps processing until it returns(which is a little while if the ftp server is not reachable).
Is there a way in c to run a script in a loop while allowing the main app to continue processing?
I have a small app that i want to be processing, while at the same time, i want it to be looking for an ftp server. I wrote a script to connect to the server and am running the script from a system command. The problem i have is that the system command halts the apps processing until it returns(which is a little while if the ftp server is not reachable).
Is there a way in c to run a script in a loop while allowing the main app to continue processing?