I have a network security solution, on OpenBSD, which needs to:
1. Open a RAW Socket and listen for incoming packets.
2. Each packet would be (in your code) assigned to a string variable
3. then printed to a log (/tmp/mysocket.log)
4. then re-injected into the RAW Socket
This is an *easy* task for anyone familiar with sockets, BSD and C code.
Skills: c, bsd, sockets