Question

TCP and UDP

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
Follow
Reply to: TCP and UDP
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: TCP and UDP
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
Re: TCP and UDP
- Collapse -
Re: TCP and UDP

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.

- Collapse -
One can be faster.

And who said UDP is unreliable? What if your app checked for loss and asked for missing packets?

You answered why both are needed.

- Collapse -
Here's an interesting project.
- Collapse -
Re: Here's an interesting project

Thank you for your help.

- Collapse -
Re: One can be faster.

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. Happy Sorry about any offense caused.

- Collapse -
I think you meant "fact"

That's the typical Comp 101 text on that. Later you learn more and see the bigger picture.

- Collapse -
Both are used.

That's not exactly the same as "both are needed".

Kees

- Collapse -
Re: TCP and UDP

Thank you for your help.

- Collapse -
Answer
TCP AND UDP

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.

- Collapse -
TCP AND UDP

Thanks for the help.

- Collapse -
Answer
TCP & 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!

- Collapse -
TCP AND UDP

Thanks for the help

- Collapse -
TCP & UDP

Welcome.

CNET Forums