What is the difference between UDP and TCP?
by, 04-25-2012 at 11:49 PM (2326 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.