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 you know about random port?
What is jhttp web server?
Explain a daytime server?
How we can make simple java program for Server/Client Communication
To create a socket, you need to know the internet host to which you want to connect?
What is socket in java?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
What is the Difference between socket and servlet?
What is network programming in java?
What is an http server?
Explain a time server?
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 an http redirector?
Tell me about networking classes and interfaces.
Explain look for local ports?