TCP is a connection internet control protocols pdf protocol and offers end-to-end packet delivery. It acts as back bone for connection. Transport Layer of OSI Model.
TCP is a reliable and connection oriented protocol. TCP offers connection oriented end-to-end packet delivery. TCP ensures reliability by sequencing bytes with a forwarding acknowledgement number that indicates to the destination the next byte the source expect to receive. It retransmits the bytes not acknowledged with in specified time period.
TCP protocol is stream oriented because it allows the sending process to send data as stream of bytes and the receiving process to obtain data as stream of bytes. It may not be possible for sending and receiving process to produce and obtain data at same speed, therefore, TCP needs buffers for storage at sending and receiving ends. This packet is called segment. Before transmission of these packets, these segments are encapsulated into an IP datagram.