Hello, I need to develop small application which will analyze sniffed traffic in the network segment, and make its finding available via SNMP.
To do so, I was planing to use perl and Net::SNMP and Net::RawIP libraries, but this is not the key issue. My major problem is, how (if at all possible) use pcap in nonblocking mode, so my application will have main event loop processing in non-blocking mode, both pcap_next packets, and SNMP requests? I understand, that pcap_next is blocking. Also, there are no guarantees that pcap_loop (or dispatch) will timeout. So, what would be the best way to approach this issue? Thanks for your suggestions, Przemek - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
