Re: [tcpdump-workers] Multi Threading - load balancing type situation...

2005-05-30 Thread Burton Strauss
What if we put a mutex on the multiple pcap_loop() calls? That way only one is active at a time. I guess then the question becomes is there anything in pcap_t that's dependent upon sequential calls occuring in the same thread. As long as we don't use pcap_next_ex(), I don't see anything...

[tcpdump-workers] extract payload - Per connection

2005-05-30 Thread Wilmar SULAIMAN
Dear all, I am new to libpcap, I believed the tutorial on tcpdump.org. Analyze the traffic by using packet as the data unit. I've sucessfully print out the payload using the tutorial. I was wondering is it possible to print out the payload using connection as a data unit? cheers, Wilmar Su