Why not circumvent the entire issue, and use "popen" and the existing ping binary? It's in stdio.h.
That would eliminate the need for a shell script wrapper, allow for the development of a plugin within C, and make use of the existing ping binary which has already been designed to do the job... Best part - no root-ski required. -- Will Du Chene [EMAIL PROTECTED] http://www.myspace.com/wduchene _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"