UDP (user datagram protocole)

Discussion in 'Computing and Networks' started by u5Al3, Sep 28, 2011.

  1. u5Al3

    Thread Starter New Member

    Dec 24, 2010
    21
    0
    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?....
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,148
    1,791
    Not without changing it. If you change it it won't be UDP anymore.
     
  3. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    Last edited: Sep 29, 2011
  4. BillO

    Well-Known Member

    Nov 24, 2008
    985
    136
    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.
     
  5. Papabravo

    Expert

    Feb 24, 2006
    10,148
    1,791
    Which was precisely the point. You build the reliable part around UDP. Modifying UDP itself would have numerous ...ahhhh side effects.
     
  6. electronis whiz

    Well-Known Member

    Jul 29, 2010
    519
    27
    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.
     
Loading...