During your Cisco CCENT and CCNA studies, you'll see that so many great TCP features - the three-way handshake, windowing, sequence numbering, error detection and recovery - are strictly TCP features. UDP doesn't use any of them. Two questions come to mind:
Why doesn't UDP offer these features?
Why in the world do we use UDP for anything?
UDP can't perform any of those TCP features because UDP literally can't offer them. The UDP header has no sequence number field, no ack number field, no ACK bit, no SYN bit, and no window field.
The TCP and UDP headers have only three values in common - the source port , the destination port, and the checksum. While the TCP header has a window field, sequence number, ack number, and quite a few other fields, the only other fields the UDP header has are the Length and Data fields. (There is an illustrated version of this article on my website.)
Now that we've answered the question about why UDP doesn't offer the features that TCP does, let's answer the second question regarding why UDP is used in the first place. That question can really be answered with one word... overhead.
The TCP header is much larger than the UDP header. That header is being applied to every segment, and that adds up! UDP's advantage over TCP is that its header is much smaller than TCP's.
We've done a lot of talking here about the differences between TCP and UDP, so let's move to a similarity! Both TCP and UDP headers carry port numbers , and those port numbers are a very important part of network communications. There are also some well-known port numbers that you'll need to know for your CCENT and CCNA exams - and these port numbers come up often in production network operations as well! We’ll take a look at how TCP and UDP use these port numbers in the next installment of this CCENT / CCNA tutorial series!
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNP exam and CCNA certification exam tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
You can also visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions!
For a FREE copy of his latest e-books, “How To Pass The CCNA" and “How To Pass The CCNP", just visit the website! You can also get FREE CCNA and CCNP exam questions every day!
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!
No comments yet.
Was this article helpful to you? Leave a Public Comment or Question:
This Article has been viewed 342 times.
Article added to SearchWarp.com on 10/4/2007 8:18:44 PM. View other articles written byChris Bryant CCIE 12933(13,765)
If you found this article interesting, you may want to check out:
Disclaimer: All information on this site is provided for informational purposes only! By no means is any
information presented herein intended to substitute for the advice provided to you by any health care or other professional
or organization.