Example requiring libpcap and MacPorts; self-described as in-development and messy, and the repo is archived.
README
In development - very messy
requires this to be ran (as well as MacPorts)
sudo chmod 777 /dev/bpf*
sudo port install libpcap +universal
requires this to be ran (as well as MacPorts)
sudo chmod 777 /dev/bpf*
sudo port install libpcap +universal
ofxAddons