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
If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?
Explain look for local ports?
What is network interface name?
Public serversocket(int port, int queuelength) throws ioexception, bindexception?
Where is the network interface card located?
What is network programming in java?
What are the advantages and disadvantages of sockets?
What is socket in java?
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?
Explain the generic term internet.
Explain a daytime server?
Why socketutil is used?
Tell me about networking classes and interfaces.
What do you understand by the term network?