Almost forgot... In <[EMAIL PROTECTED]>, J. Seth Henry <[EMAIL PROTECTED]> typed: > Lastly, how can I get data and commands into and out of my program? I > figure a file interface would be the simplest, and simply check the file > periodically to see if it has changed. Is there an easier way, or is this > an accepted method?
That's an accepted method, especially if you're doing other things at regular intervals anyway. Again, FreeBSD provides kqueue, which will let you wait on an event instead of poll the file. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message