Skip to content
We areTOP 1%
Computer Networks · Intermediate · Topic 1 of 3

TCP & UDP

5 questions.
Your progress0%
1st Visit
0/5
2nd Visit
0/5
Revise
0/5

Overview

The transport layer delivers data between processes rather than between hosts, using port numbers to hand each segment to the right application. Its two main protocols make opposite trade-offs. TCP is connection-oriented: it opens a connection with a three-way handshake and delivers a reliable, ordered byte stream using sequence numbers, acknowledgements and retransmission. UDP is connectionless and adds little more than ports and a checksum, giving lower delay in exchange for no delivery guarantees. Interview questions compare the two protocols, ask which applications use each and why, trace the handshake and the four-step close with sequence numbers, and test sockets, the programming interface to both.

Questions

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account