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
What you know about random port?
What is socket in java?
Explain a time server?
Tell me about networking classes and interfaces.
How we can make simple java program for Server/Client Communication
Explain look for local ports?
Why socketutil is used?
What is a listener in networking?
What is network interface name?
What is network programming in java?
What is an http redirector?
What is an http server?
What are the advantages and disadvantages of java sockets.
To create a socket, you need to know the internet host to which you want to connect?
What is HttpURL connection ?