UDP
Transmission Control Protocol (TCP) is used when data reliability is needed since it is connection oriented and guarantees delivery.
Stateless, by default. HTML's parent protocol, HTTP, is a idempotent, stateless protocol. However, we have means using Javascript, PHP, Perl, Ruby, ASP, etc. to add a state an application. But, using only HTML, it's not possible.
- In your own words, define the term 'protocol' and what is the difference between protocol and protocol suite
ANSWER According to W. Richard Stevens's book, TCP/IP Illustrated, Volume 1, UDP stands for User Datagram Protocol. It is unreliable, in the sense that there is no retrying defined in the protocol. This is in contrast to TCP, which stands for Transmission Control Protocol. TCP creates a connection layer on top of the unreliable Internet Protocol (IP), by retrying the transmission of sequence-numbered packets so that the receiver can correctly reconstruct the data as it was sent. UDP just transmits the packet, and if any attempt at guaranteeing that a packet was received is needed, it must be done by the application level, not at the protocol level. Note that although it seems like an application should never use an unreliable protocol, the overhead involved in creating TCP connections is often deemed unnecessary, especially for operations done on LANs (ARP, BOOTP, etc).
Different from a connectionless protocol, a connection-oriented protocol guaranties the delivery of the information. An example of connection-oriented protocol is (TCP) and a connectionless protocol is (UDP). page/926 A+
UDP
The User Datagram Protocol (UDP) is the transport layer protocol that provides low overhead and is used for applications that do not require reliable data delivery. Unlike TCP, UDP does not establish a connection or guarantee the delivery of packets, making it suitable for time-sensitive applications like video streaming, online gaming, and voice over IP (VoIP), where speed is prioritized over reliability.
UDP
The User Datagram Protocol (UDP) is primarily used for multimedia applications because it offers lower latency and faster data transmission compared to the Transmission Control Protocol (TCP). UDP allows for the delivery of packets without establishing a connection, which is crucial for real-time applications like video streaming and online gaming, where timely delivery is more important than ensuring every packet is received. Additionally, UDP's lightweight nature reduces overhead, making it suitable for scenarios where speed is essential.
It appears as though you have the two concepts reversed; if you are using flow control than you are using a reliable delivery method - these are at layer 4 of the OSI model, which is TCP for reliable delivery. TCP provides flow control. UDP would be used for speed, when you do not need reliable delivery. However, UDP does not use flow control, since there is no handshaking between transmission and reception, and it is a connectionless protocol.
UDP
Guaranteed reliable delivery is provided by TCP transport.
TCP
This would be UDP. The User Datagram Protocol. It has no error checking or correction or congestion measures.
UDP
transport layer
TCP