Study FAQ
What do TCP and UDP provide on a switched and routed IP network?
Also asked as 2
- How do TCP and UDP differ, and what do their port numbers identify?
- What can you infer from a TCP connection or a UDP datagram on an Ethernet network?
Answer
TCP provides a connection-oriented, reliable and ordered byte stream with flow control. UDP carries individual datagrams without built-in delivery or ordering guarantees. Applications can add behavior above UDP. Both use transport ports to distinguish application endpoints.
For a client connecting to a server over TCP port 443, the client uses a source port and the server's port is the destination. The transport endpoints handle the TCP conversation. Ethernet switches along the path can forward its frames without taking part in that connection.
A successful TCP handshake shows that the transport connection opened. Application processing can still fail after the handshake, and confidentiality depends on the application using protection such as TLS. A listener on port 443 alone tells you which port the client addresses.
References
Full explanation
HPE6-A86: Following an Ethernet Packet Through the Network Layers
Study guide · HPE6-A86
Read the full explanation