View RSS Feed

Java Socket

What is the difference between UDP and TCP?

Rate this Entry
by , 04-25-2012 at 10:49 PM (2147 Views)
Difference b/w TCP and UDP that shall be kept in mind is that communication of UDP is not reliable ever. However, guarantee is provided by the TCP that sent packages will definitely be reaching the destination, not damaged & will be in required order. UDP packages just get fired out and no feedback is provided that what was happened during their journey, around the world. Also, keep it in your mind that Network communication is not reliable ever. On the way, routers could fail out, drop out packets, TTL might run out, packages could get corrupted, or timeouts etc… Shortly, TCP shall be used when one wants to ensure that packages would be arriving its destination when one sends them.

Submit "What is the difference between UDP and TCP?" to Facebook Submit "What is the difference between UDP and TCP?" to Digg Submit "What is the difference between UDP and TCP?" to del.icio.us Submit "What is the difference between UDP and TCP?" to StumbleUpon Submit "What is the difference between UDP and TCP?" to Google

Comments