On Tue, Jun 7, 2011 at 1:54 PM, Glyph Lefkowitz <glyph@twistedmatrix.com> wrote:
how is UDP different from TCP?
The phrase "UDP" never appears in the HOWTO. DGRAM sockets get a brief mention as "anything else" in the sentence: "... you’ll get better behavior and performance from a STREAM socket than anything else ...". (To be fair, I do endorse teaching that "the difference between TCP and UDP is that you should not use UDP" to anyone not sufficiently advanced to read the relevant reference documentation themselves.)
And if UDP starts sounding tempting due to excessively high latency, these days it's worth looking up the specs for the interplanetary internet instead. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia