Why does UDP have a length field in the header and TCP does not?

Posted by IP Help on Stack Overflow See other posts from Stack Overflow or by IP Help
Published on 2008-11-11T17:42:43Z Indexed on 2010/05/02 20:28 UTC
Read the original article Hit count: 305

Filed under:
|
|
|
|

Why does UDP have a length field in the header and TCP does not?

I am guessing that the length of the segment in TCP is inferred from the IP header but one should be able to do the same for a UDP datagram

© Stack Overflow or respective owner

Related posts about udp

Related posts about tcp