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 is the use of network interface?
What is a listener in networking?
What is a thread pool?
What are the advantages and disadvantages of sockets?
What is an http redirector?
What is network interface name?
Explain a time server?
What is socket in java?
What is HttpURL connection ?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
What you know about random port?
What is the main difference between Client side Java Script and and Server side Java Script how actually they run on both side with Example.
Why socketutil is used?
What is network programming in java?
Where is the network interface card located?