[Winpcap-users] pcap_next_ex for real time application

Thomas O'Hare Tom at RedTile.Com
Wed Aug 30 08:23:24 GMT 2006


We just has a question similar in nature.  May I ask what CPU load you
are using?  IOW, are you looping or using another technique.  I guess %
of CPU use would be a good indicator.

Thanks,
~ Thomas O'Hare ~
President, RedTile, Inc. - DBA: RedTile Software
Web, Wireless, Network, Database & Systems Software
+1.407.295.9148 ; +49.8651.717950 ; http://www.RedTile.Com/
Operations Manager; Virtual FoxPro User Group
Tom at VFUG.Org ; http://www.VFUG.Org/


laurent.charreire at voila.fr wrote:
> Hello,
> I'm developping a real time application (multi-threading with MFC) which aims at decoding RTP packets to create audio file.
> I make use of pcap_next_ex() in my filtering thread.
> To test my program, I'm using a rtpdump file (G.711 PCMA) and rtpplay tool.
> I don't understand why my filtering thread handles packets faster than 20 ms (length of my packet G.711 PCMA): it detects packets every 2 ms... :(
> As a consequence, my decoding thread can not deal with so many bursts : buffer jitter is getting full and so on.
> Thanks in advance for your support.
> http://mail1.voila.fr/webmail/fr_FR/write.html#
> Envoyer
> Regards,
> 
> Laurent Charreire
> 
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users


More information about the Winpcap-users mailing list