Google interview question

Describe the difference between TCP and UDP

Interview Answers

Anonymous

24 Nov 2016

Both protocols are part of the TCP/IP stack. TCP= Connection oriented; Reliable; Re-transmission on loss; higher overhead than UDP; Suitable for Small-Very large data; hi-speed ex. SSH, FTP, TELNET, SMTP, POP UDP= Connectionless; unreliable; no re-transmission on loss; lower overhead; suitable for small to moderate data volume; very high speed ex. SNMP, DNS, RTP, VPN/Tunneling

6

Anonymous

24 Nov 2016

Both protocols are part of the TCP/IP stack. TCP= Connection oriented; Reliable; Re-transmission on loss; higher overhead than UDP; Suitable for Small-Very large data; hi-speed ex. SSH, FTP, TELNET, SMTP, POP UDP= Connectionless; unreliable; no re-transmission on loss; lower overhead; suitable for small to moderate data volume; very high speed ex. SNMP, DNS, RTP, VPN/Tunneling

1

Anonymous

3 Mar 2014

TCP is sent specifically to logical addresses (HTTP, FTP), UDP is broadcast to everyone (DNS)

1