Transmission Control Protocol (TCP) is used when data reliability is needed since it is connection oriented and guarantees delivery.
Chat with our AI personalities
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+
A datagram socket represents a connectionless, non-guaranteed communication protocol. It represents the UDP protocol in the TCP/IP suite.Contrast this with a stream socket, which represents a connection oriented, guaranteed, communication protocol. It represents the TCP protocol in the TCP/IP suite.UDP is the underlying protocol for TCP. If you are talking OSI model, UDP is layer 3, and TCP is layer 4.
connectionless protocols. A connection less protocol's lack of sophistication makes it more efficient than a connection-oriented protocol and renders it useful in situations in which data must be transferred quickly
HTML is synchronous because the base protocol, HTTP (Hypertext Transfer Protocol) does not maintain a connection with the server. This was because, at the time, no one could imagine wanting a protocol that kept state. Give that the protocol doesn't track the user, there'd be no way for HTML to by asynchronous.
UDP