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

Explain a daytime server?

637


What is a thread pool?

638


What are the advantages and disadvantages of java sockets.

604


What is network programming in java?

559


What is the Difference between socket and servlet?

784






Explain a time server?

583


Tell me about networking classes and interfaces.

619


What you know about random port?

559


What is a client tester?

575


What is the use of network interface?

498


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

674


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.

665


What is jhttp web server?

757


What is cookies in networking ?

614


Explain the generic term internet.

584