PcapSession::Dispatch never gets called )
Newer versions of libpcap don't let you set nonblocking mode on files (and apparently don't set a useful error message).
Create inject.js example
added cstring to pcap_session.cc to get rid of compiler error
…not in namespace during nom install
As the comments suggested, pull out per-session code into a class that gets instatiated each time you createSession. This way a single process can have multiple captures going at once.
Upgrade socketwatcher dependency.
0.2.0 fixes backwards compatibility with node < 0.9.9. See github issue btrask/node-socketwatcher#2 for details.
Update to SocketWatcher 0.2.0. Now works on Node 0.8.x