Differences between TCP and UDP
There are two types of Internet Protocol (IP) traffic. They are TCP or Transmission Control Protocol and UDP or User Datagram Protocol. 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.
TCP is acronym for "Transmission Control Protocol" while UDP is acronym "User datagram Protocol";
TCP is connection oriented while UDP is connectionless;
TCP is more reliable than UDP;
UDP is more faster for data sending/receiving than TCP;
TCP makes error checking and reporting while UDP makes error checking without reporting;
TCP gives guarantee that the order of data at receiving end is same as on sending end while UDP has no such guarantee.
Header size of TCP is 20 bytes while that of UDP is 8 bytes.
TCP is heavy weight as it needs three packets to setup a connection while UDP is light weight.
TCP has acknowledgement segments but UDP has no acknowledgement.
TCP is used for application that require high reliability but less time critical whereas UDP is used for application that are time sensitive but require less reliability.
If your online activities are related to your privacy or crucial business info that you don't want anyone to know, or what you seek is absolute security, then TCP is the only choice; if you are sure that the sites you visit (or whatever you are doing online) is completely safe and your antivirus and firewall are up-to-date and working fine, UDP is a better choice to surf faster, streaming online video/audio as well as send/receive big files.
More Useful Tips: