tcp vs udp

Sun, 03 May 2026 08:40:45 +0000

HTTP example for java client is TCP example for java client is UDP example for java client is I understand HTTP works at application while TCP and UDP works at transport layer. My. Wile doing research I noticed that SSH both uses TCP and UDP. I completely understand the use of TCP, but UDP seems a bit strange. Why would I use an "unreliable" transport protocol with minimal Is there any relation between ICMP with TCP Not directly. ICMP is IP protocol 1, TCP is IP protocol 6. Other common IP protocols are 17 (udp) and 47 (gre). In other can we guaranty their. UDP is the same layer as TCP -- calling it layer 3.1 doesn't work. TCP is "protocol 6" and UDP is "protocol 11" in the IPv4 protocol (or IPv6 next header) field.