tcpdump mailing list archives
Question about "pcap_next()"
From: Kathy Chen <kathy_ios () yahoo com>
Date: Mon, 1 Nov 2004 23:14:46 -0800 (PST)
Hi, all,
When I call
u_char *packet = pcap_next(handle, &header);
I can get the packet length value, but I can't really
get the "packet" data (Using printf(..., packet)).
Even if I call this "pcap_next()" continuously, the
same problem exist.
Could any of you point out the reason for me? From the
source code, it seems "recvfrom(...)" should return
sth.
Thanks.
kathy
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- Question about "pcap_next()" Kathy Chen (Nov 01)
- Re: Question about "pcap_next()" Sebastien Vincent (Nov 01)
- Re: Question about "pcap_next()" Kathy Chen (Nov 02)
- Re: Question about "pcap_next()" Guy Harris (Nov 01)
- Re: Question about "pcap_next()" Sebastien Vincent (Nov 01)
