Hello Mr. Jeevan kumar, I will try my best to let you understand, First thing you need to understand is TCP is connection-oriented protocol and UDP is connectionless protocol. Suppose you send a file or message through TCP, Then it will get delivered unless connection fails, if connection lost the server will request lost part and there will be no corruption while transferring a file or message, While when you use UDP protocol to send a data or message, you will not come to know whether it will get delivered or not, it could got lost on the way and there may be corruption while transferring a message, Second thing let's talk about ordering of message, Suppose you want to send two messages along a TCP connection one after another, then you know the first message will get there first, you don't have to worry about data arriving in wrong order in TCP connection means ordered connection ,while when you use UDP protocol to send the same two messages, then you will not come to what order they will arrive mean to say no ordered Third thing now talk about streaming, Data is read "stream".with nothing distinguishing where one packet end and another begins, In TCP their may be multiple packets per read call, while in UDP protocol packets are sent individually and are not guaranteed to be whole if they arrive. One packet per one read call, TCP protocol is being used by WWW(Apache TCP port 80), email(SMTP TCP port 25 postfix MTA), FTP (21) and Secure shell and UDP protocol is being used by DNS,streaming media such as IPTV or movies, VOIP,trivial file.
Hope you will understand this
BECOME MASTER OF DIGITAL WORLD