Length- transport layer, Computer Networking

Length

This is a 16 bit  field  that  defines  the total  length  of the user  datagram, header  plus data. This 16 bit  can define  a total  length  of a 0 to 65, 535 bytes. However the  total  length  needs  to be much  less  because  a UDP is stored in an IP datagram with a total  length  of 65, 535 bytes,

The  length  fields in a UDP user datagram is actually not  necessary. A user datagram  is encapsulated in an IP datagram. There is  a fields  in the IP datagram that defined the total  length. There is another  fields in the IP datagram  that defines  the length  the header. So  if we subtract the value of the second field from  the first  we can find the  length  of a UDP  Dataram that is  encapsulated in IP datagram.

UDP length = IP length - IP header s length

However the designers of the UDP protocols  felt  that it  was more efficient  for the  destination  UDP to calculate the length  of the data  from the  information  provided  in the  UDP user  datagram rather than ask the IP software to supply  this information. We should  remember  that when  the IP  software  delivers the UDP user datagram to the UDP layer. It has  already dropped  the IP header.

Posted Date: 3/11/2013 5:48:57 AM | Location : United States







Related Discussions:- Length- transport layer, Assignment Help, Ask Question on Length- transport layer, Get Answer, Expert's Help, Length- transport layer Discussions

Write discussion on Length- transport layer
Your posts are moderated
Related Questions
IGRP is a distance vector routing protocol designed by Cisco. The maximum hop count is 255, and it uses a combination of variables to verify a composite metric. IGRP has an adminis

What is Intranet security Every company starts its operations with a genuine and honest thinking. As time passes, based on the needs of its employees as well as customers, a nu

What is a Multiplexor

i have an exam i need it to be solved

What is a File server? File servers are helpful for sharing files across a network. With a file server, the client passes requests for file records over system to file server.

Question: a) The Systems Administrator of Acme Company performs the backup of the website database file every day at 15:50. The original file location is database.sql. The Ad

Computer Networks A computer  networks  can be defined as set of computer that  interact  among  the individual  computers sharing  resources or information. Reference models

Why do we require to subtract two from number of hosts?

implementing cnet sliding window protocol with 6 nodes

State in brief about the Local Area Network (LAN) LAN is an interconnection of computers and associated peripherals as well as to the communications system as shown in Figure