What is the difference between TCP and UDP ?
Answer Posted / raja
TCP is a connection oriented protocol, which means that
everytime a packet is sent say from host A to B, we will
get an acknowledgement. Whereas UDP on the other hand, is a
connection less protocol.
Where will it be used : TCP -> Say you have a file transfer
and you need to ensure that the file reaches intact, and
time is not a factor, in such a case we can use TCP.
For more details : http://newadmins.blogspot.com/
Is This Answer Correct ? | 117 Yes | 27 No |
Post New Answer View All Answers
What is network interface name?
Where is the network interface card located?
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 is HttpURL connection ?
What is socket in java?
What is a listener in networking?
What is an http server?
Why socketutil is used?
Explain the generic term internet.
What you know about random port?
What is network programming in java?
What is a thread pool?
To create a socket, you need to know the internet host to which you want to connect?
What is the Difference between socket and servlet?
What are the advantages and disadvantages of java sockets.