Tcp/udp
TCP/IP or UDP/IP (User Datagram Protocol ) are just protocols of Internet. They are in
the 4th Layer of OSI. TCP or UDP are used to determine what kind of connection
is to be established whether Connection-Oriented or Connection-Less.
Connection Oriented which uses TCP/IP: protocol is used when
there is a need to establish a session and where lost packets have to be
retransmitted if lost like when you use email, you dont want to send a mail
with uncertainty of whether the mail will reach its destination or not and moreover
with uncertainty of sending incomplete mail with lost packets.
Connectio-Less which: uses the UDP/IP protocol is used when you
dont want waste time on establishing a connection and you don’t want to
retransmit the lost packets as the latest packet is more necessary to reach the
destination like when using chat, you dont want to resend the old packets or
data later or else it will be like you are talking on some other topic and the earlier
packet reaches later out of nowhere. Same can be said for buffering of a video.
0 comments:
Post a Comment