tcpdump mailing list archives

Re: Question about "pcap_next()"


From: Sebastien Vincent <svincent () idems fr>
Date: Tue, 02 Nov 2004 11:22:30 +0400

We can't help you without source code.

Regards,

Seb :)

Kathy Chen a écrit :

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.

-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: