3
votes

What's the best way to use libpcap with Scala? I need to capture from live network devices, so it will most likely need a native binding.

I've found a couple like JPcap and JNetPcap but nothing particularly for Scala...

Any recommendations?

1

1 Answers

4
votes

Since the libraries run on JVM already there is no need for an additional wrapper for Scala. Just pick the best library and pimp it to your needs.

JNetPcap seems like the most updated one here.