| • Science | • People | • Locations | • Timeline |
| Contents | ||
In the Internet protocol suite, TCP is the intermediate layer between the Internet Protocol below it, and an application above it. Applications most often need reliable pipe-like connections to each other, whereas the Internet Protocol does not provide such streams, but rather only unreliable packets.
Applications send streams of 8- bit bytes to TCP for delivery through the network, and TCP divides the byte stream into appropriately sized segments (usually delineated by the maximum transmission unit (MTU) size of the data link layerThe data link layer is level two of the seven-level OSI model. It responds to service requests from the network layer and issues service requests to the physical layer. The data link layer is the layer of the model which ensures that data is transferred c of the network the computer is attached to). TCP then passes the resulting packets to the Internet Protocol, for delivery through an internetThis article is about the Internet the extensive, worldwide computer network available to the public. An internet is a more general term for a set of interconnected computer networks that are connected by internetworking''. WWW information network structu to the TCP module of the entity at the other end. TCP checks to make sure that no packets are lost by giving each byte a sequence number, which is also used to make sure that the data is delivered to the entity at the other end in the correct order. The TCP module at the far end sends back an acknowledgement for bytes which have been successfully received; a timer at the sending TCP will cause a timeout if an acknowledgement is not received within a reasonable round trip time, and the (presumably lost) data will then be re-transmitted. The TCP checks that no bytes are damaged by using a checksumThis article is about checksums calculated using addition. The term "checksum" is sometimes used in a more general sense to refer to any kind of redundancy check. In computer technology and telecommunication, a checksum is a form of redundancy check, a ve; one is computed at the sender for each block of data before it is sent, and checked at the receiver.
| Application layer | HTTP, SMTP, FTP, SSH, IRC, SNMP ... |
| Transport layer | TCP, UDP, SCTP, RTP, DCCP ... |
| Network layer | IPv4, IPv6, ARP, IPX ... |
| Data link layer | Ethernet, 802.11 WiFi, Token ring, FDDI, ... |