Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem using pcap

Status
Not open for further replies.

datapath

Programmer
Feb 20, 2003
11
0
0
BR
Hello
I am trying to learn to use libpcap, but Im having a few
problems. I found a good tutorial by Tim Carstens. There is
an example in the tutorial that I can compile with no
problems. When I try to run it on FreeBSD it doesnt capture any packet! And when I run it on Linux pcap_next returns imediately as if there was a packet, even if there was none!
Am I doing something wrong?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top