<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=345441921-23082005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=345441921-23082005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=345441921-23082005>Can anybody help me 
to solve this issue?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=345441921-23082005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=345441921-23082005>I have a TCP 
connection handled by the completion port&nbsp;IO model. What is happening is in 
case I specify a large buffer for receiving (WSARecv), the operation completes 
only after the buffer is full, not after receiving about 500 bytes (a packet), 
so a significant delay is introduced. In case of small buffers, performance 
degrades. Any advice on this? Completion port model is a 
must.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=345441921-23082005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=345441921-23082005>Thank 
you</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=345441921-23082005>Alex 
Krivonosov</SPAN></FONT></DIV></BODY></HTML>