<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>&nbsp;</DIV>
<DIV>I am using winpcap 4.0.0.901.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>for winpcap I have set PacketSetMinToCopy as 256k and PacketSetReadTimeout is 1 sec.</DIV>
<DIV>&nbsp;</DIV>
<DIV>from mailing list and user manuals&nbsp;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>&nbsp;</DIV>
<DIV>I am just checking lpPacket-&gt;ulBytesReceived after every read and I found that PacketReceivePacket() is returning bytes that ranges from 1k to more than 256k. </DIV>
<DIV>&nbsp;</DIV>
<DIV>At 270mbps traffic, we can not expect ReadTimeout expiry. So only condition for PacketReceivePacket()&nbsp; to return is 'MinToCopy bytes have been copied'.&nbsp; 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()&nbsp; should return 256k in most cases @270mbps traffic as per above conditions.</DIV>
<DIV>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>Thanks in advance for any help.</DIV>
<DIV>&nbsp;</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>