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


Please Help Members By Posting Answers For Below Questions

Where is the network interface card located?

716


Explain look for local ports?

827


What is a client tester?

747


What is cookies in networking ?

808


What is network programming in java?

745


If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?

728


What is the Difference between socket and servlet?

1022


What is the use of network interface?

677


What is HttpURL connection ?

816


What is socket in java?

838


What is a listener in networking?

801


Public serversocket(int port, int queuelength) throws ioexception, bindexception?

883


Tell me about networking classes and interfaces.

814


To create a socket, you need to know the internet host to which you want to connect?

744


What is a thread pool?

831