TDI Client: localhost TCP delays

Hello,

I’m writing yet another TDI client driver. Seems like all ok but I
noticed very slow processing on loopback connections. My driver opens
TCP connection to user process on the same Windows 2000 host and if
it connect to 127.0.0.1 address and uses blocks a bit larger then 64K every other
TDI_SEND delayed by 200ms. There is no delays if it uses small
packets, or connect to 192.168.0.1 ( local ethernet card ). No delays
on real network either. User mode application is simple single threaded
recv/recv/WSASend.

MSDN says that Naigel is disabled for loopback.

200ms delay is between IoCallDriver() and Completion routine. This
delay looks like delayed ack problem, but I have no ideas how to avoid
it. Please help. Thank you.

http://www.synclive.com/

Best regards,
Dmytro mailto:xxxxx@synclive.com