SAGARFIVE

Networking Basics

Read More :

TCP vs. UDP

FeatureTCPUDP
Connection statusRequires an established connection to transmit data (connection should be closed once transmission is complete)Connectionless protocol with no requirements for opening, maintaining, or terminating a connection
Guaranteed deliveryYESNO
Retransmission of dataYESNO
Error checkingYESNO
Method of transferData is read as a byte stream; messages are transmitted to segment boundariesUDP packets with defined boundaries; sent individually and checked for integrity on arrival
SpeedSLOW than UDPFASTER than TCP
BroadcastingNOYES
Optimal useHTTPS, HTTP, SMTP, POP, FTPVideo conferencing, Streaming, DNS, VoIP,