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

How we can make simple java program for Server/Client Communication

643


What is the Difference between socket and servlet?

796


What is an http redirector?

555


Explain look for local ports?

580


Tell me about networking classes and interfaces.

631






What is socket in java?

634


Explain a daytime server?

646


What is network programming in java?

575


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

539


Why socketutil is used?

612


Explain a time server?

596


What is cookies in networking ?

621


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

553


What is a listener in networking?

593


What is a thread pool?

651