Want this question answered?
When IP sends a packet, it receives a confirmation for each packet and, if needed, rebroadcast the packet. This makes it reliable. UDP does not get confirmation. It broadcast each packet only once and assumes that it get to you. This makes it less reliable then IP because it does not check for problems or rebroadcast.
1. IP works at network layer, UDP works at transport layer. 2. UDP carries application data, IP carries TCP segments or UDP datagrams.
ip udp
IP
In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.In the commonly used TCP/IP communications, that would either be a TCP header, or a UDP header.
Did you try Wireshark?
Transport layer TCP/IP Protocols are TCP and UDP
IP
An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.An important difference is that TCP includes mechanisms for reliable data communication (lost parts of the communication are re-sent), UDP doesn't. TCP is used when such a reliable communication is important. When speed is more important than reliability, UDP is used instead. This is the case with phone or video communication over the Internet.
Because TCP does far more things than UDP. UDP does not do flow control or congestion control or guarantee in-order and reliable packet delivery. TCP does all those things therefore it needs more functionality.
transport
the main difference between UDP and TCP is that UDP is not a reliable protocol.