Cell Relay Archive

Cell Relay Retreat>List Archive>month:1995-Apr> msg00386



[Date Prev][Date Next][Thread Prev][Thread Next]  
  [Date Index][Thread Index][Author Index][Subject Index]

> TCP window size

  • From: craigp@world.std.com (Craig Partridge)
  • Date: Mon, 24 Apr 1995 16:59:17 -0500, Mon, 24 Apr 1995 21:48:06 GMT

 
Fahad A Hoymany writes:

> I agree with your description but I don't think the sender window has
> anything to do with the receiver's window.  That is, there is no
> negotiation to determine the window size, every end advertises its own
> window.  So, it is very common to see a sender's window of 4KB and a
> receiever's window of 2KB.  There is no problem here.
 
You're mostly right, I misspoke here.  The problem I was trying to point
out is the following.  There are two limits on how much you can send with
TCP connection:
 
    (1) The sending buffer size that the sending system reserves for storing
    unacked data sent over the connection (SNDBUF)
     
    (2) The window size advertised by the receiving system (which under
    BSD = the size requested by RCVBUF).
     
So yes, you can advertise different sized windows in different directions,
but you also have to worry about minimums (the min buffer wins). 
If you want a MB in flight, you have to allocate a MB at both ends.
 
Sorry I wasn't more clear.
 
Craig
craig@bbn.com