Although the application does compile, when run it displays an error:
Starting tcpick 0.1.24 at 2004-09-07 01:38 BST
tcpick: listening on en0
SUICIDE: [main] BIOCSRTIMEOUT: Invalid argument
It seems that the problem is on line 156 of the tcpick.c file.
descr = pcap_open_live( dev, BUFSIZ, flags.notpromisc ? 0 : 1 , -1,
(char *)errbuf );
When changing the -1 (time to wait value) to something else, the
program compiles and runs, however it does not seem to capture any
packets. I've played with various values, but nothing seems to work
properly.
Any ideas/solutions?
Thanks,
cirrus
Please CC me, I'm not subscribed
|