To make sure that a communication is received by the other end in full and in the correct order.
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.
There are 5 types pf protocols used in the computer network.
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).
Transmission Control Protocol (TCP) is used when data reliability is needed since it is connection oriented and guarantees delivery.
Its main function is to detect problems in a protocol
traffic encryption
TCP is a sub-protocol within the IP protocol. Think of TCP as one of the instruments in a band.
No TCP a reliable protocol whereas UDP is unreliable.
TCP is the protocol of network layer, It is connection oriented protocol. UDP is the protocol of network layer, It is connection less protocol.
TCP-IP is a protocol, not a transmission medium. Bandwidth doesn't affect it.
TCP/IP is the standard default.
tcp based protocols,internet protocol,sometimes file transfer protocol also supported by tcp wrappers. tcp is reliable and connection oriented.
Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite.
No, the protocol that guarantees packet delivery is TCP.No, the protocol that guarantees packet delivery is TCP.No, the protocol that guarantees packet delivery is TCP.No, the protocol that guarantees packet delivery is TCP.
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.
TCP
The main communication or network protocol is the TCP/IP protocol. (Transmission Control Protocol/Internet Protocol)