tcpdump transport


My end goal is to get live data from the tcpdump application (network traffic sniffer) into the SuperCollider environment so that I can produce sound based on the input from tcpdump. I have gotten some feedback, and am wondering if having a C/C++ program in the middle the accept piped data from tcpdump and then send it to Supercollider as OSC messages would be the best way to go? Any other suggestions? What would be the best way to get started with this? I really need to know how to setup a program to read data piped to it in the first place, and then I need to know how to take that data and send it as an OSC message.

All input is greatly appreciated!