USER DATAGRAM PROTOCOL
what is user Datagram protocol and where it is used user Datagram protocol is a connectionless protocol and this connectionless protocol is used in the transport layer so UDP is very simpler and it does only simple functions when compared with TCP which there's a complex functions in transport layer so you can see the only thing common between TCP and UDP is that they use port numbers to transfer the data so here the TCP performs much complex things like reliability or reliable data delivery and flow control and also error handling but UDP does not do these three functions and only do multiplexing or a demultiplexing function only so that the UDP is called connectionless protocol and also it is not reliable it only has a checksum field in the header which the destination will look after the checksum field and know about the integrity of the data sent to it the UDP header contains only four parameters so only four parameters which is source port information destination port information length and checksum fees checksum field as discussed and it is only eight bytes in size so eight bytes in size of the UDP header TCP has a large or a higher overhead with the larger header and acknowledgments TCP has a higher header and also large header to have some details or acknowledgment information in it the source also holds data till it receives the information from the destination or acknowledgement from the information so the source also holds data that means it holds the source after sending the data to the destination it holds the data till it receives acknowledgement from the destination some applications especially those that deal with the voice and video require faster a transfer rate so that they take care of the reliability themself at the application layer so here when compared with TCP the UDP is much lower reliable as it does not perform the three functions that is reliable data delivery and flow control and error handling so that TCP is used more in transport layer for the complex functions it does so coming to the next layer Internet layer will be discussed in the next videos
Post a Comment