UDP is classified as an “unreliable” protocol . . . . .?
Mocha81
2006-03-26 18:53:02 UTC
UDP is classified as an “unreliable” protocol, while TCP is considered to be a “reliable” protocol. What exactly does this mean? Describe 3 of the benefits that UDP offers over TCP.
Seven answers:
bogdan.cyecorp
2006-03-27 00:13:46 UTC
Hello !
Almost all the answers are true. With one note regarding TCP as a protocol. TCP is not bulletproof, you can exploit its vulnerabilities that it has over HTTP, FTP, SNMP.
Talking about UDP protocol, it does NOT have two many benefits. But I will tell you one that I think is interesting. Suppose you MUST have a videoconference. Anf if you use TCP as the transport protocol you will have: all the handshaking, all the checking for the packets received or not. Its too much time, don't you think.
But if you use UDP, the time is decreased exponentially by not checking anything. Is just flow of the streaming info for what you need, meaning the videoconference, because you need it now, not in five seconds or so.
UDP is a send and forget protocol, while TCP has a lot of handshaking going on behind the scenes between each packet. The internet is getting better and the incidence of lost packets is pretty low and if the loss of a few packets isn't detrimental then you can use it to save the extra handshaking involved with TCP (tcp protocol is almost bulletproof) but the extra bytes and the increase in transmission time is a factor.
muddygirl
2006-03-27 14:45:37 UTC
A "reliable" protocol establishes a handshake connection and delivery is guaranteed. An "unreliable" protocol is connectionless and the sender won't know if a packet is delivered or not. It really has nothing to do with reliability in the traditional sense of the word.
The three main advantages for UDP over TCP are that datagram boundaries are respected, you can broadcast, and it is faster.
anonymous
2006-03-26 19:12:10 UTC
TCP performs packetization (segmentation), that is, breaking up the message into smaller pieces, numbering the segments and reassembling them at the destination end of the transmission.
TCP also ensures that the segments are reliably delivered.
TCP segments have a 24 byte header.
Header fields include: source and destination port identifiers and a packet sequence number used in message reassembly.
Fragmentation is the technique of breaking a packet into smaller products so that they are going to fit into the frames of the underlying community. The receiving device reassembles the products into the unique packets. The time period MTU (optimal transmission unit) refers back to the optimal volume of records that would vacation in a body. distinct networks have distinct MTU sizes, so packets would favor to be fragmented with the intention to slot interior the frames of the community that they transit. UDP is unreliable because it truly is often contained in the fashion of video and there are not any blunders checking in video because the end person is the blunders checking. TCP there is blunders checking so it truly is sturdy
fuzzyclutter0
2006-03-26 19:02:25 UTC
there really is no benefits.. the protocol does not verify packet retrieval , and lost packets are so common with these high speed networks the protocol has become terribly obsolete and impotent . the only benefit would be the lower operational overhead..but that's because it does not verify packet retrieval ..which makes it so unreliable .
anonymous
2006-03-26 19:04:25 UTC
UDP doesn't verify whether a packet has been recieved.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.