Section 3.5 Flashcards
This field contains the port number associated with the sending socket for this TCP segment.
Source port number
This field contains application data that was written into a socket by the sender of this TCP segment.
Data (or payload).
This field contains the index in the sender-to-receiver byte stream of the first byte of that data in the payload carried in this segment.
Sequence number
This field contains the index in the byte stream of the next in-order byte expected at the receiver
ACK number field
If set, this segment cumulatively ACKs all data bytes up to, but not including, the byte index in the ACK value field of this segment.
ACK bit
This field contains the number of available bytes in the TCP receiver’s buffer
Receiver advertised window
This field contains the Internet checksum of the TCP segment and selected fields in the IP datagram header
Checksum
This field contains the number of bytes in the TCP header.
Header length field
Why is it that the receiver sends an ACK that is one larger than the sequence number in the received datagram?
Because the send-to receiver segment carries only one byte of data, and after that segment is received, the next expected byte of data is just the next byte (i.e., has an index that is one larger) in the data stream
True or False: with TCP’s flow control mechanism, where the receiver tells the sender how much free buffer space it has (and the sender always limits the amount of outstanding, unACKed, in-flight data to less than this amount), it is not possible for the sender to send more data than the receiver has room to buffer.
True