[EMAIL PROTECTED] wrote:

> So I was wondering whether the programm is actually capturing any 
> network packet.

If your program prints "Welcome ...", it's capturing packets.  It will 
print "Welcome ..." for each packet it captures.

However, it's not saving those packets to the capture file that you've 
created with pcap_dump_open().  Your callback needs to write the packets 
out by calling pcap_dump().
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to