TCP/IP

views updated

TCP/IP Trademark; Abbrev. for Transmission Control Protocol/Internet Protocol. The obligatory standard to be used by any system connecting to the Internet. The two protocols were originally developed on the DARPA net. They were devised to optimize the performance of networks that are based on unreliable data-transmission systems operating at relatively low data rates.

The Internet Protocol, IP, is the lower of the two protocols. It provides a connectionless datagram service, and a managed address structure for data transmission. An IP address can take one of four forms, class A to class D, which always occupy a total of 32 bits (see table): the first bits define the class of the address; the next group of bits defines the identity of the subnetwork attached to the Internet; the final group defines the address of the host system within the subnetwork. Class A addresses are for large subnetworks with many hosts, and classes B and C are for progressively smaller networks with progressively fewer hosts; class D addresses are used for multicasting. IP allows a long datagram to be fragmented into numbered packets, which can then be transmitted and reassembled in their correct sequence at the destination system. It is intended to be used in conjunction with the Transmission Control Protocol, TCP.

TCP provides error-free delivery of arbitrarily long messages, known as segments, with the data being released to the host system in the same order as the original transmission. It achieves this by a “sliding window” mechanism. As data are transmitted, they are accompanied by a checksum; at the receiving end the checksum is verified and an acknowledgment is returned to the transmitter, which indicates the position of the last data to be successfully received. The transmitter will not send data beyond a certain point, determined by the size of the window, i.e. the gap between the last data to be sent and the last data for which an acknowledgment has been received. If the checksum fails at any point, the transmitter will retransmit data from the point immediately following the latest acknowledgment of correct receipt.

More From encyclopedia.com