Open nonokatori opened 4 years ago
From the docs:
pcap_setdirection() isn't necessarily fully supported on all platforms;
some platforms might return an error for all values, and some other platforms might not support PCAP_D_OUT.
Thank you! You helped me a lot!
I thought I was doing something wrong.
Hi!
I am writing a sniffer. I need to choose the direction of the packets being caught (source or destination), but the method
setDirection(PcapHandle.PcapDirection dir)
does not work under Windows. Is there any way to solve this problem? Or is made this method only for Linux?