TCP vs UDP vs TCP & UDP?

Started by
31 comments, last by hello2k1 21 years, 8 months ago
alright then guys, i use tcp/ip, currently for everything, mainly because, im too slow witted to learn winsock properly - just using CNetworking class.

im working on a project for uni and have to write it up. can somebody who is biased tell me all the reasons why tcp is better than udp? even if its not quite true.
Advertisement
Hahaha, TCP is reliable, UDP is not. Reliable means you will receive all the data that is sent to you, and you will receive all that data in order, and the data you receive won''t be corrupted. It also has built-in network congestion avoidance, so you don''t have to worry about how fast you''re sending the data to the other computer, you won''t end up flooding the other end or anything.
quote:Original post by Anonymous Poster
...and the data you receive won''t be corrupted.


UDP won''t corrupt data either. If a packet reaches you, it''s gauranteed to be the same as the packet that was sent.

If I had my way, I''d have all of you shot!

codeka.com - Just click it.

This topic is closed to new replies.

Advertisement