345 views
1 votes
1 votes

I am having problems understanding these inequalities with regard to TCP connection.

Receiving side

  1. LastByteRcvd -­ NextByteRead <= MaxRcvBuffer
  2. AdvertisedWindow = MaxRcvBuffer ­- (LastByteRcvd ­- NextByteRead)

Sending side

  1. LastByteSent ­-LastByteAcked <= AdvertisedWindow
  2. EffectiveWindow = AdvertisedWindow ­ (LastByteSent - LastByteAcked)
  3. LastByteWritten ­-LastByteAcked <= MaxSendBuffer
  4. Block sender if (LastByteWritten ­-LastByteAcked) + y > MaxSendBuffer
     

Please either explain yourself or provide some useful link. Thank you.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
4