TCP Flashcards
True/False - The transport layer runs in end systems
True
What are the units in TCP
TCP - Segments, UDP - Datagrams
True/False - UDP does not provide error control only error checking
True
In UDP what happens to datagrams with errors
They are dropped
True/False - In UDP when datagrams are dropped there are gaps at the application level
True
True/False - neither TCP nor UDP provides for guaranteed delay or guaranteed bandwidth
True
True/False - IP does not provide for full delivery
True
Describe UDP
Connectionless (no handshake), unreliable
Describe TCP
Connection oriented (Handshake), reliable. used for services that cannot tolerate loss, byte oriented (no msg boundary)
In the TCP header, what is the purpose of the sequence number
To identify the number of the 1st byte in the payload
In the TCP header, what is the purpose of ack acknowledgment field
To provide the number of the next byte expected to be rx’d
In the TCP header, what is the purpose of the rx window size field
To specify the number of bytes the rx’er is willing to accept (space in buffer)
Describe the TCP 3-way Handshake process
- The initiator selects a random initial sequence number
- The initiator sends a segment with the Syn byte flagged and the ISN
- The rx’er selects a random initial sequence number
- The rx’er sends a segment with the the Syn and Ack bytes flagged and it’s ISN along with an ACK of the next seq number expected and its window size
- The connection is opened on the initiator side
- The initiator sends the next segment with the Ack byte flagged, The ACk with the next expected seq number from the rx’er and its window sz.
- The connection is opened on the rx’er side
True/False - The final Ack of the TCP three way handshake can contain data
True
Describe piggy backing in the TCP data transfer phase
The an ack is embedded with a data segment