Fork from node_pcap, and make in run windows platform , using npcap(winpcap) library.
Basic readme see node_pcap
Change Point:
- use node-addon-api to rewrite, which replace nan
- windows doesn't support pcap_get_selectable_fd, using pcap_next_ex to replace
- we start a new thread to poll pcap_next_ex