Recently, I've been working on an application (bash based) that could gather some information that I need from a host (network interfaces configuration, arp neighborgs, routing policy, pinging some other hosts, etc).
Read more »Named Pipes... or how to get two separate applications to interact
http://maratux.blogspot.com –