Thanks Loris. I have had a look at pcap_stat() but I was unable to implement it while running pcap_loop. ----- Original Message ----- From: "Loris Degioanni" <loris.degioanni@xxxxxxxxx> To: "Ethereal user support" <ethereal-users@xxxxxxxxxxxx> Sent: Wednesday, November 09, 2005 11:19 PM Subject: Re: [Ethereal-users] libpcap and lost packets > Regarding WinPcap, refer to > http://www.winpcap.org/docs/docs31/html/main.html, and look for the > pcap_stats() function. > > Loris > > > Ulf Lamping wrote: > > Vossie wrote: > > > >> Hi > >> > >> I have written a program that uses pcap_loop until a certain amounts > >> of packets was captured. Is there a way for libpcap to indicate that > >> it had encountered a lost packet scenario inside this loop function? > >> > > > > > > There is a function to get the packet drops and a few other information > > (can't remember the exact name). > > > > However, you should read the libpcap/WinPcap documentation and ask the > > corresponding libpcap/WinPcap mailing list, but not the Ethereal one. > > > > This way, the libpcap/WinPcap developers might be able to give > > appropriate help and might improve their docs if they see any problems > > with it. > > > > Regards, ULFL > > > > _______________________________________________ > > Ethereal-users mailing list > > Ethereal-users@xxxxxxxxxxxx > > http://www.ethereal.com/mailman/listinfo/ethereal-users > > > > _______________________________________________ > Ethereal-users mailing list > Ethereal-users@xxxxxxxxxxxx > http://www.ethereal.com/mailman/listinfo/ethereal-users >
Powered by MHonArc 2.6.10