node-pcap / node_pcap

libpcap bindings for node
MIT License
928 stars 253 forks source link

Properly close pcap.TCPTracker and pcap.createSession #248

Open sascha1337 opened 5 years ago

sascha1337 commented 5 years ago

What would be the correct way of completely closing the pcap activity for both pcap.TCPTracker and pcap.createSession ? Thank you so much !

nblasgen commented 7 months ago

At least for the session, you can call the close() function. I haven't looked at the other function, but might be the same.