parsing multiple interfaces at once - does this require multiple captures in different threads?

Aug 27, 2010 at 9:35 AM

Hi,


Wondering how one could present an indication of traffic across thevarious network interfaces (like wireshark does, to help you pick thevalid interface). Can you capture on multiple interfaces at the same time?   Or would itrequire setting up a capture in parallel for each interface each onit's own thread?  (I'm assuming the latter but just double checking)

thanks

Coordinator
Aug 27, 2010 at 12:57 PM

Yes, in order to capture packets from multiple threads you need to use multiple threads since all the calls are synchronized and you need multiple PacketCommunicators.

Note that you might want to receive statistics instead of packets if you only want to see the statistics of each device.