UDP (user datagram protocole)

Thread Starter

u5Al3

Joined Dec 24, 2010
21
hi....
udp is unreliable protocole.....as compair to TCP..

which has handshaking, sequencer etc....
is there any possobility to make udp reliable if yes/not ...
why?....
 

Papabravo

Joined Feb 24, 2006
14,378
hi....
udp is unreliable protocole.....as compair to TCP..

which has handshaking, sequencer etc....
is there any possobility to make udp reliable if yes/not ...
why?....
Not without changing it. If you change it it won't be UDP anymore.
 

BillO

Joined Nov 24, 2008
990
In a sense I have to agree with AlexR.

You can make UDP arbitrarily reliable and secure as long as you do this at the application layer. Did you ever study Kermit or Xmodem? These were delivery guaranteed communications protocols that were entirely implemented at the application layer. The communications layer was simple asynchronous serial data transfer protocol.

In fact, TCP/IP can be simulated over simple serial protocol. You could do the same using UDP, or any other communications protocol.
 

Papabravo

Joined Feb 24, 2006
14,378
Which was precisely the point. You build the reliable part around UDP. Modifying UDP itself would have numerous ...ahhhh side effects.
 

electronis whiz

Joined Jul 29, 2010
512
this was part of the intintional desing of udp. udp is used for video, network time management protocol, dhcp. because it does not use acknoledgements like tcp it is a bit faster. sequincing, checksums, crc not being used also speed it up. because it is mainly video or audio a small glitch will not be very noticable. however if your downloading a driver, program etc this mising a packet could cause disaster this is why tcp is used. udp is prety much tcp withput the extra features.
 
Thread starter Similar threads Forum Replies Date
MrChips Mods 3
MrChips Mods 3
ScottWang Mods 0
ScottWang Mods 0
Wendy Mods 0
Top