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
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 do you understand by the term network?
Explain a time server?
What is the use of network interface?
What is the Difference between socket and servlet?
To create a socket, you need to know the internet host to which you want to connect?
What is an http redirector?
What are the advantages and disadvantages of sockets?
What is a client tester?
Where is the network interface card located?
What is network programming in java?
What is an http server?
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.
Explain a daytime server?
Tell me about networking classes and interfaces.