Data pkts not coming till all previous pkts are ACK'ed

Hi,

We are doing a small project which involves TCP/IP. We open a HTTP connection with a remote host and seek packets from the machine. These packets received are buffered and Acknowledged at intervals such that the they do not face retransmissions. We also vary the receivers' advertised window size on each ACK sent. Initially we advertise a window size of W and get two packets, then we ACK the second packet of the two received, and advertise a window size of '4W' expecting 4 packets. And we get the 4 pkts. Now we treat these pkts as a buffer and keep ACK'ing them at specific times.

  1. The first problem is although there is no congestion/no retransmission the Sender DOES NOT SEND ANY NEW PKTS TILL ALL THE PREVIOUS PKTS HAVE BEEN ACKNOWLEDGED, ie contrary to our expectation we dont get pkts as and when we ACK packets.
  2. There is another problem that we are encountering which is described as follows : While establishing the TCP connection we send an mss of 1500. The advertised receiver window size( W ) is also 1500. But the packets received are always of size 750bytes ( ie W/2 ) Now we keep the mss at 1500bytes but changed the receiver advertised size to 1000bytes. Now we receive pkts with size 500 bytes ( W/2 ). We varied the mss and the receivers advertised sizes in many ways but everytime( even for very low values of rwin ) the PACKETS RECEIVED ARE ALWAYS OF LENGTH ( W/2 ). It would be of great help if you could please provide some insights or references to these problems. Our platform : Linux Fedore Core 2
2.6.5-1.358 ( Kernel Version on the receiver ) 2.6.5-1.358 ( Kernel Version on the sender ) Regards Supriyo
Reply to
supriyo.chakraborty
Loading thread data ...

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.