Reliable byte stream

Reliable byte stream

A reliable byte stream is a common service paradigm in computer networking; it refers to a byte stream in which the bytes which emerge from the communication channel at the recipient are exactly the same, and in the exact same order, as they were when the sender inserted them into the channel.

The classic example of a reliable byte stream communication protocol is the Transmission Control Protocol, one of the major building blocks of the Internet.

A reliable stream is not the only reliable service paradigm which computer network communication protocols provide, however; other protocols (e.g. SCTP) provide a reliable message stream, i.e. the data is divided up into distinct units, which are provided to the consumer of the data as discrete objects.

Mechanism

Communication protocols which implement reliable byte streams, generally over some unreliable lower level, use a number of mechanisms to provide that reliability.

All data items are identified with a "sequence number", which is used both to make sure that the data are delivered to the entity at the other end in the correct order, and to check for lost data items. The receiver sends back "acknowledgements" for data items which have been successfully received; a "timer" at the sender 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". To check that no data items are damaged, a "checksum" is used; one is computed at the sender for each block of data before it is sent, and checked at the receiver. Erroneous or missing data are reported to the sender, in order that it may retransmit the same. Any duplicated data items are discarded.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Byte stream — In computer science, a byte stream is a bit stream, in which data bits are grouped into units, called bytes. In computer networking the term octet stream is sometimes used to refer to the same thing; it emphasizes the use of bytes having the… …   Wikipedia

  • Stream Control Transmission Protocol — In computer networking, the Stream Control Transmission Protocol (SCTP) is a Transport Layer protocol, serving in a similar role as the popular protocols TCP and UDP. Indeed, it provides some of the same service features of both, ensuring… …   Wikipedia

  • Structured Stream Transport — (SST) is an experimental transport protocol that provides an ordered, reliable byte stream abstraction similar to TCP s, but enhances and optimizes stream management to permit applications to use streams in a much more fine grained fashion than… …   Wikipedia

  • Consistent Overhead Byte Stuffing — (COBS) is an algorithm for encoding data bytes that results in efficient, reliable, unambiguous packet framing regardless of packet content, thus making it easy for receiving applications to recover from malformed packets. Byte stuffing is a… …   Wikipedia

  • MPEG transport stream — Filename extension .ts Internet media type video/MP2T[1] Developed by MPEG Initial release 1995 (1995) …   Wikipedia

  • Program stream — (PS or MPEG PS) is a container format for multiplexing digital audio, video and more. The PS format is specified in MPEG 1 Systems and MPEG 2 Part 1, Systems (ISO/IEC standard [http://neuron2.net/library/mpeg2/iso13818 1.pdf 13818 1] ). Program… …   Wikipedia

  • TCP/IP model — See also: Internet Protocol Suite The TCP/IP model (Transmission Control Protocol/Internet Protocol) is a descriptive framework for the Internet Protocol Suite of computer network protocols created in the 1970s by DARPA, an agency of the United… …   Wikipedia

  • Retransmission (data networks) — Retransmission is the resending of packets which have been either damaged or lost. It is a term that refers to one of the basic mechanisms used by protocols operating over a packet switched computer network to provide reliable communication (such …   Wikipedia

  • PARC Universal Packet — The PARC Universal Packet (commonly abbreviated to PUP, although the original documents usually use Pup) was one of the two earliest internetwork protocol suites; it was created by researchers at Xerox PARC in the mid 1970s. (Technically, the… …   Wikipedia

  • EFTP — is also the ICAO code for Tampere Pirkkala airportEFTP (various expansions of this have been given, including Easy File Transfer Protocol, Ether File Transfer Protocol, and Experimental File Transfer Protocol) was a very simple file transfer… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”