Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!HP-SES.SDE.HP.COM!wunder From: wunder@HP-SES.SDE.HP.COM (Walter Underwood) Newsgroups: comp.protocols.tcp-ip Subject: Re: Beginner's info TCP & UDP Message-ID: <9007171707.AA01515@hp-ses.sde.hp.com> Date: 17 Jul 90 17:07:31 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 13 Hedrick's and Warnock's explanations are interesting, but I sent Pete a rather different explanation for UDP's existance. UDP is for protocols that don't want or need byte streams. It is for protocols that need pure datagrams, often for request/response, and it is for building custom protocols, like NTP. TIME and DAYTIME are the classic request/response examples -- if the reply is lost, TCP would retransmit the old timestamp after a timeout, but with UDP, the requestor times out, asks again, and gets a new timestamp. A transaction protocol that supports idempotent requests would satisfy a lot of the current users of UDP, but it would not obsolete UDP. wunder