What is the difference between TCP and UDP ?

Answer Posted / bhumika arora

TCP UDP
1)Transmission control 1)User Datagram
Protocol Protocol
2)Slower than UDP 2)Faster than TCP
3)TCP offers error connection 3)UDP does't offer error
and Guaranteed Delivery connection & delivery
4)connnection oriented Protocol 4)Connectionless
Protocol
5)Generally use in webpages, 5)Generally use in Audio
database information etc and vidio files.
6)Provides or sends larger 6)Provides or sends
packets smaller packets.
7)For e.g. 7)For e.g.
SMTP port no is 25 DNS port is 53 or any
FTP port no is 21 movies site or games etc
Apache tomcat port is 80

Is This Answer Correct ?    118 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the generic term internet.

581


What is cookies in networking ?

608


What is a listener in networking?

576


What is the Difference between socket and servlet?

777


What is socket in java?

622






Why socketutil is used?

601


What is a client tester?

569


What is network programming in java?

550


Explain a time server?

578


What is a thread pool?

632


How we can make simple java program for Server/Client Communication

631


What is HttpURL connection ?

617


What is an http server?

536


Where is the network interface card located?

515


To create a socket, you need to know the internet host to which you want to connect?

526