Re: TI-H: Demolition Calc


[Prev][Next][Index][Thread]

Re: TI-H: Demolition Calc





People use UDP because it doesn't require an ACK to each packet like
TCP. For example in action 3d games like quake, half-life, unreal,
etc. You don't care if you miss a packet or two for most things (and
the things that do have ACKs internal to the higher level protocol), 
so sending back an ACK on every packet you get just to say "Yah, i got 
it." is a waste of precious bandwidth. UDP headers are also
significantly smaller than TCP headers

Btw, here's the header for UDP

/---Byte 1---\/---Byte 2---\/---Byte 3---\/---Byte 4---\
+------------++------------++------------++------------+
|       Source Port        ||     Destination Port     |
+------------++------------++------------++------------+
|         Length           ||         Checksum         |
+------------++------------++------------++------------+
| Begin data stream...
+-----------

The words in the header must obviosuly be in network byte order, and
the Checksum should be a standard 2's compliment checksum [i think]

-- Jon Olson

--
It was the nocturnal period preceeding a yuletide celebration
henceforth known as 'Christmas.' Throughout the residence of a party
who's name is as yet unknown there was no motion of any kind including
but not limited to that of mice.

On Mon, Dec 21, 1998 at 01:03:03PM -0700, Rosyna wrote:
> 
> Got all except UDP, why do they even use UDP?
> 
> At approximately 11:02 AM -0900GMT on the day Earth People call 
> 12/21/98, Grant Stockly declared:
> 
> > Here is a picture of the structure...  If you want the whole RFC then I can
> > just send it to you.  I'd give you the final one that became a STD.
> >
> > *********************************
> > * User Datagram Protocol header *
> > *********************************
> 
> ---
> I pledge allegiance to the Mac of Apple Computer Incorporated, and to 
> the developers for which it stands, one platform, under Jobs, 
> indestructible, with creativity and multimedia for all. 


Follow-Ups: References: