[Winpcap-users] Playback cap file...

Gianluca Varenni gianluca.varenni at cacetech.com
Sat Mar 31 00:42:41 GMT 2007


Oscar,

sorry for the late answer.

Why don't you split the transmission into multiple chunks (of let's say 1000 
packets, or 1 seconds), performing a check after each send if you need to 
pause?

Have a nice day
GV

----- Original Message ----- 
From: "Oscar CALEFFI" <oscaleff at gmail.com>
To: "WinPCap Support" <winpcap-users at winpcap.org>
Sent: Wednesday, March 21, 2007 8:42 AM
Subject: [Winpcap-users] Playback cap file...


>I would like to replay a cap file using pcap_sendqueue_transmit, the
> problem is that I would like to pause the sending and be able to
> continue, have you any idea to do this?
> A good trick could be something like a waitforsingleobject... in the
> function PacketSendPackets, and an instance of semaphore to pause the
> sending.
> What do you think about it????
> Thanks in advantage
> Oscar CALEFFI
> _______________________________________________
> 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