<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I am using winpcap 4.0.0.901.</DIV>
<DIV> </DIV>
<DIV>I am trying to capture traffic @ 270mbps.</DIV>
<DIV>OS - WindowsXP </DIV>
<DIV>machine - Intel Core 2 Quad CPU 2.4GHz, 4GB RAM</DIV>
<DIV>NIC - Intel(R) 82566DC-2 Gigabit Network </DIV>
<DIV> </DIV>
<DIV>for winpcap I have set PacketSetMinToCopy as 256k and PacketSetReadTimeout is 1 sec.</DIV>
<DIV> </DIV>
<DIV>from mailing list and user manuals I learnt that PacketReceivePacket() should return if either of below conditions is met</DIV>
<DIV>- MinToCopy bytes have been copied</DIV>
<DIV>- ReadTimeout expires</DIV>
<DIV> </DIV>
<DIV>I am just checking lpPacket->ulBytesReceived after every read and I found that PacketReceivePacket() is returning bytes that ranges from 1k to more than 256k. </DIV>
<DIV> </DIV>
<DIV>At 270mbps traffic, we can not expect ReadTimeout expiry. So only condition for PacketReceivePacket() to return is 'MinToCopy bytes have been copied'. But what I observed is only 1% of time it has returned 256k rest 99% of attempts have returned values ranging from 1k to more than 256k (2%). What I expect here is PacketReceivePacket() should return 256k in most cases @270mbps traffic as per above conditions.</DIV>
<DIV> </DIV>
<DIV>And NIC stats show that OID_GEN_RCV_NO_BUFFER is zero and winpcap stats also say that no dropped frames.</DIV>
<DIV> </DIV>
<DIV>Let me know whether my understanding of PacketReceivePacket is wrong? or In what conditions PacketReceivePacket() can return less than mintocopy bytes even though there is no readtimeout expiry?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance for any help.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Shrinivas</DIV></div><br>
<!--6--><hr size=1></hr> Add more friends to your messenger and enjoy! <a href="http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/"> Invite them now.</a></body></html>