TCP vs UDP Flashcards
Transmission Control Protocol (TCP)
Connection-oriented protocol, which means its a reliable way to transport segments across the network. Used for data that needs to be assured to reach it’s final destination.
User Datagram Protocol (UDP)
Unreliable and it transmits segments called datagrams. Really good for audio and visual streaming. Dropped information is not perceived by the receiver
TCP vs UDP (TCP)
TCP:
Reliable (three-way handshake)
Connection-oriented
Segment retransmission and flow control (windowing)
With segmentation of sequencing
Acknowledgment
TCP vs UDP (UDP)
UDP:
Not reliable
Connectionless
No retransmission and no windowing
without sequencing
without acknowledgment
TCP examples
SSH, HTTP, or HTTPS
UDP examples
Audio/Video streaming, DHCP, and TFTP