I only know about UDP is unreliable and connectionless
protocol.And TCP/IP protocol is connection oriented and
reliable.i want some more advantages and disadvantages and
UDP where its used.
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.
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
3.no ack
4.100% or 0% data transmission
TCP-sequencced order
-reliable
-connectiton oriented
-virtual cricuit
-acknowledgement
-windowing flow control
-Example:- World Wide Web,SMTP,FTP
UDP-UNsequencced order
-unreliable
-connectitonlss
-Low overhead
-no acknowledgement
-no windowing flow control
-Example:-Domain Name System(DNS),Trivial File
Transfer Protocol (TFTP)
A computer monitor has a resolution of 1300 by 1000 pixels.
If each pixel uses 1024 colors, how many bits are needed to
send the complete contents of a screen?
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?