Use a method of forking that returns the pid, store them in an array, and do a kill 9 (or 15) on them when you want them gone? You may need to do a killfam on the pid just in case you get an extraneous shell pid as a parent to your spawned child pid.
In reply to Re^2: TCP Server Exits Loop and Crashes with error
by zentara
in thread TCP Server Exits Loop and Crashes with error
by rojmab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |