What is the difference between TCP and UDP ?

Answer Posted / aneesa

TCP stands for transmission control protocol.it is an connection oriented service.for example telephonic conversation, that is high reliability will be there and also ensure ordered delivery that is if any data yet does not reach the receiver can again ask for the data.using TCP we can send plenty of information that is it sends stream of infinite length.where as UDP is an user datagram protocol.it is connectionless for example postal services.it does not ensures guaranteed delivery and also unreliable and order of delivery might be incorrect.it is of light weight.it can be used for sending small packets.

Is This Answer Correct ?    24 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a listener in networking?

576


Explain a daytime server?

631


What is network programming in java?

550


What are the advantages and disadvantages of sockets?

564


Tell me about networking classes and interfaces.

613






What is a client tester?

569


What is socket in java?

622


Explain a time server?

578


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

535


Explain look for local ports?

569


Explain the generic term internet.

581


What is an http redirector?

538


What is HttpURL connection ?

617


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

668


What is the Difference between socket and servlet?

777