Re: [tcpdump-workers] sniffex.c - libpcap example code proposal

2005-06-30 Thread 广
> >I've attached "sniffex.c", which is intended to be libpcap example code. >It's based on Tim Carstens "sniffer.c" source. > >I hope "sniffex" will serve as a decent working example of libpcap code >and provide basic documentation via comments for beginners. I also hope >this can serve as a tem

Re: [tcpdump-workers] sniffex.c - libpcap example code proposal

2005-06-29 Thread 广
Thank you very much for the earnest detailed reply:-)~ But there are still some questions in my mind. === 2005-06-30 10:10:21 Guy Harris wrote:=== > >On Jun 29, 2005, at 5:50 PM, 广星 wrote: > >> What I most concern about is how to print the payload in the >> correct f

Re: [tcpdump-workers] sniffex.c - libpcap example code proposal

2005-06-29 Thread 广
> >I've attached "sniffex.c", which is intended to be libpcap example code. >It's based on Tim Carstens "sniffer.c" source. > >I hope "sniffex" will serve as a decent working example of libpcap code >and provide basic documentation via comments for beginners. I also hope >this can serve as a tem