Size: 666
Comment:
|
Size: 1292
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
* '''Error Control''': Ack/retransmission/ | * '''Error Control''': Cumulative ACK -> Next Byte & retransmission When needed |
Line 13: | Line 13: |
'''Sender Windows Size''': The size of the buffer on the sender. So you don't send if your window is full! You would risk forgetting about a frame that may need to be resent. ''Invariant: LFS-LAR+1<=SWS'' Where LAR=Last Acknowledgement Received and LFS=Last Frame Sent '''Receiver Windows Size''': The size of the buffer on the receiver. You don't receive if your window is full. ''Invariant: LFA-NFE<=RWS'' Where NFE=NextFrameExpected and LFA=LastFrameAccepted. '''Sequence Number Space''' SWS <= (MaxSeqNum+1)/2, This is so the windows of the sender and receiver don't overlap. |
Back to ComputerTerms
https://www.scotnpatti.com/unl/images/tcpheader.jpg
TCP is a byte oriented protocol. This means that each byte of data has a sequence number, and the sequence number field contains the sequence number for the first byte of datacarried in theat segment. The acknowledgement and advertised window fields carry information about the flow of data going in the other direction.
TCP provides a Reliable Byte Stream Abstraction
Error Control: Cumulative ACK -> Next Byte & retransmission When needed
Flow Control: Receiver Window
Congestion Control: Congestion windows size using a reactive method
Sender Windows Size: The size of the buffer on the sender. So you don't send if your window is full! You would risk forgetting about a frame that may need to be resent. Invariant: LFS-LAR+1<=SWS Where LAR=Last Acknowledgement Received and LFS=Last Frame Sent
Receiver Windows Size: The size of the buffer on the receiver. You don't receive if your window is full. Invariant: LFA-NFE<=RWS Where NFE=NextFrameExpected and LFA=LastFrameAccepted.
Sequence Number Space SWS <= (MaxSeqNum+1)/2, This is so the windows of the sender and receiver don't overlap.
Back to ComputerTerms