hello,
i am trying to set packet filter for my application using winpcap but it
doesn't seem to work. Otherwise the application is capturing packets. The
moment the filters are imposed, the application kind of hangs for the want of
packet.
the code is:
struct bpf_program filter;
char filter_app[] = "port 80";
pcap_compile(handle, &filter, filter_app, 0, net);
pcap_setfilter(handle, &filter);
can some one help please...is there a problem with the code...?
Regards
anshuman.
---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/