Kees
Hello I am new to TCP and UDP and have a basic understanding of what they do. However, I would like to know why are both TCP and UDP needed?
![]() | Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years. Thanks, CNET Support |
Hello I am new to TCP and UDP and have a basic understanding of what they do. However, I would like to know why are both TCP and UDP needed?
Discussion is locked
It's to answer a question in a course I am doing. I understand that UDP is fast but unreliable, and I understand that TCP is more reliable and stays connected, re-sending missing packets. This is simplifying them, but in describing there us in my course I need to discover the reason why both are needed. I know there are differences between the two (advantages etc), but unless I'm misreading the question, I need to state why both are needed. Any further help would be appreciated.
And who said UDP is unreliable? What if your app checked for loss and asked for missing packets?
You answered why both are needed.
I have read that it is 'Unreliable best-effort' delivery wise, and elsewhere 'UDP is a connectionless and unreliable transport protocol'. I was not intending to give an opinion, but state a fat.
Sorry about any offense caused.
That's the typical Comp 101 text on that. Later you learn more and see the bigger picture.
TCP is connection oriented – once a connection is established, data can be sent bidirectional. UDP is a simpler, connectionless Internet protocol. Multiple messages are sent as packets in chunks using UDP.
Hello,
TCP stands for Transmission Control Protocol
UDP stands for User Datagram Protocol
The TCP and UDP protocols are two different protocols that handle data communications between terminals in an IP network (the Internet).
This link talk about what TCP and UDP are, and what the differences are between them.
https://en.wikibooks.org/wiki/Communication_Networks/TCP_and_UDP_Protocols
Hope this helps.
Have a blissful day!