UDP is a connectionless oriented service and it does not
wait for any acknowledgments whether the data has reached
its destination or not. It will not check for flow control
and error control.It is the faster protocol comparied to
Tcp.It is usually used for applications which require faster
data transmission such as , video streaming and for audio
applications over the network.
Tcp is a connection oriented service and is a
most reliable service. Tcp has all the functionalities like
Error control, flow control,Acknowledments.It is a slow
comparied to Udp.
TCP:1.it is a relaible communication
2.it is a slower process
3.ack based process
4.100% data transmission
5.if ack was not recvd data transmit once agin.
UDP:it is a unrelaible communication
2.it is a faster process
4.100% or 0% data transmission
The first thing is UDP is connection less where as TCP is
connection oriented.The broadcasting and multicasting
software is available in the UDP only.Why because it is
connection less hence we can broadcast the packets very
easily,no need to wait for connection like in tcp,which
takes more delay.
TCP : 1-TRANSMITION CONTROL PROTOCAL.
2-TCP IS SLOW
3-TCP IS RELIABLE
4-IN TCP DELIVERY REPORT NECESSARY
5-IN TCP SMALLER & CRITIAL DATA
6-TCP IS CANNECTION ORIENTED
UDP : 1-USER DATAGRAM PROTOCAL
2-UDP IS SLOW
3-UDP IS RELIABLE
4-IN TCP DELIVERY REPORT NOT NECESSARY
5-IN UDP LARGE DATA
6-UDP IS CANNECTIONLESS
Is This Answer Correct ?
Other UDP Interview Questions
A device is sending out data at the rate of 2000 bps. How
long does it take to send out 100 bits? How long does it
take to send out a singal character (8 bits)? How long does
it take to send a file of 100,000 characters?