|
Daniel,
I have
a little experience with WinPcap. My opinion on your questions
follows:
1) I
use 2 threads. I believe you could use 1
thread.
2)
PacketSendPackets is much faster than PacketSendPacket.
However, I am having some reliability problems when I use
PacketSendPackets. I have not determined the cause of the problem
yet.
3) I
do not know how they actually work. If they have enough buffer space
available, they should just queue the data to be sent and immediately
return. I have seen very high performance so I believe they must
work correctly.
4) I
have never had this problem. My receive buffer is always big
enough to receive an entire packet. The receive thread blocks until
it receives an entire packet.
5) I
have never had this problem.
6) I
believe the driver does transfer several or many packets at
once. You just access them one at a time. You
can't do anything to make it much faster.
Bob
Robert Thornthwaite
Input/Output, Inc.
|
Title: Message
- [WinPcap-users] Sending/Receiving same time + PacketSe... Daniel Frimerman
- Re: [WinPcap-users] Sending/Receiving same time +... Robert Thornthwaite
- Re: [WinPcap-users] Sending/Receiving same ti... Daniel Frimerman
