English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

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.

2007-06-25 03:24:26 · answer #1 · answered by dewcoons 7 · 0 2

you're talking apples and oranges. IP is the layer 3 network protocol that is neither reliable or unreliable.
UDP is a layer 4 transport protocol that is unreliable in the sense that UDP doesn't have any mechanism to detect missing packets or to retransmit bad or missing packets. It depends on upper layer protocols for reliability.
TCP is also a layer 4 protocol, but it is reliable- TCP builds a two connection before data is sent and every packet sent is confirmed as being received by the receiver.

2007-06-25 04:31:53 · answer #2 · answered by frank m 3 · 2 0

"IP and UDP are both connectionless and unreliable protocols. The main difference in their reliability is that IP only calculates a checksum for the IP header and not for the data while UDP calculates a checksum for the entire datagram."

2016-04-16 15:50:41 · answer #3 · answered by Hossein 1 · 0 0

fedest.com, questions and answers