in reply to Re^12: Forking Clientsin thread Forking Clients
The simplest way to time out a system call is to use a thread with a piped open. See Re^3: Backticks and SIGALRM for one I prepared earlier :)