What is the difference between TCP and UDP ?
Answer Posted / a.v.sudheer
TCP is a Transmission Control Protocol.
UDP is a User Datagram Protocol.
There are four major differences between UDP and TCP:
1. TCP can establishes a Connection and UDP cannot.
2. TCP provides a stream of unlimited length, UDP sends
small packets.
3.TCP gurantees that as long as you have a connection data
sent will arrive at the destination, UDP provides not
guarantee delivery.
4.UDP is faster for sending small amounts of data since no
connection setup is required, the data can be sent in less
time then it takes for TCP to establish a connection.
| Is This Answer Correct ? | 312 Yes | 27 No |
Post New Answer View All Answers
What is socket in java?
What is network interface name?
What is a listener in networking?
Explain a daytime server?
What is a client tester?
Why socketutil is used?
What is the use of network interface?
What is an http redirector?
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
To create a socket, you need to know the internet host to which you want to connect?
What do you understand by the term network?
Explain a time server?
What you know about random port?
Explain the generic term internet.
Tell me about networking classes and interfaces.