On Sat, Dec 25, 2004 at 10:12:05PM +0300, Igor Yu. Zhbanov wrote: > Hello! > > I have written an application that intensively sends and receives data from > socket. But when I have captured network traffic I have seen that empty ACK > (without data) is sent for every packet arrived. My application's response > time for queries is low and I am wondered why empty ACK was sent first and > data packet (that acknowledges the same was sent a little later). What about > "delayed ACKs"? What am I doing wrong? The delayed-ACK thing is configurable, maybe the web server is disabling it? Try it with some other servers to see if you get the same effect... It's the Nagle algorithm if I remember correctly. -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Attachment:
pgpfLsVpMCpE6.pgp
Description: PGP signature