Lynx (protocol)

Lynx (protocol)

Lynx is a windowed batch data transmission protocol which utilizes proven techniques of efficiency, reliability and flexibility. It was developed by Matthew Thomas in 1989.

* Run-length encoding data compression on a block by block basis
* 32-bit CRC on each block for reliable error detection
* Fast recovery from data transmission errors
* Continuous data flow from the sender
* Dynamic block scaling for noisy connections
* Resume mode for recovery of crashed transmissions
* Passing full file name, size, date and time
* Up to 99 files may be transferred in a single batch
* Retaining exact file size
* Stamp received files with current or original time/date
* CTS/RTS handshaking

The Lynx protocol is based on the assumption that a connection between two sites is capable of full-duplex transmission. Lynx will send a stream of data while simultaneously polling the receive-buffer for any interruptions from the other end. On half duplex links, this will not work. But almost all modems in use today are capable of full-duplex operation, so this specification is typically not a problem.

The reason that Lynx makes use of full-duplex operations is to insure optimum transfer speed. When transmitting information, Lynx spends very little time waiting for the other end to respond. On certain occasions--after a file header is transmitted or after recovering from a line error-- Lynx will wait for the other end to resynchronize.

Lynx can transfer up to 99 files in a single batch. Information which is passed from sender to receiver concerning each file includes:

* File name (8 character body, 3 character extension)
* Original time/date stamp (optional)
* File length (exact length of files is preserved by Lynx)
* Lynx version number (practically useless)

Lynx data transmissions are protected with CRC-32 error detection, and are recoverable either automatically by the protocol (Lynx will attempt to recover from up to twenty contiguous errors) or manually, by reconnecting--hopefully with a cleaner connection--and using the resume option of Lynx. The resume option alerts the Lynx receive protocol to automatically test for the presence of a partially downloaded file before beginning the transfer, and to initiate the download at the point in the file where the last one ended, instead of resending the entire file.

During the course of the transmission, Lynx will dynamically adjust the block size from 2 packets up to 16 packets to optimize for speed on clean connections. Incidentally, a packet contains 64 bytes of data.

The benefit of increasing the block size on error-free connections is in the fact that the overhead of block numbers, control sequences, and CRC-32 bytes is decreased for the entire file, actually decreasing the total number of bytes that must be transferred.

Lynx will also dynamically shrink block sizes if continuous errors are detected in the connection. The benefit of this technique is that on an error-prone connection, short blocks take less time to retransmit (which is a natural occurrence during error recovery)

Lynx tests each block for compressibility before transmitting it. RLE compression is used for this operation. Generally, a block containing text information will be compressible. Archived, ZIPPED, or other compressed files will likely not be further condensed by this technique. Note that Lynx will always optimize transmission of each block--if RLE decreases the block length, it will be used; otherwise, the uncompressed packet will be sent. In some implementations of RLE encoding, the compression technique may actually increase the length of the data being encoded. This is not the case with Lynx.

Lynx supports CTS/RTS hardware handshaking. This type of handshaking is generally required when using Lynx at high speeds (9600 baud or faster). Modems such as the ATI 2400etc, the USR HST 14400, and other MNP or buffered modems require this type of handshaking.

External links

* [http://www.cpeterso.com/protocols/LYNX302.ARJ Lynx 3.02 program and source code]
* [http://www.cpeterso.com/protocols/LYNX.TXT Lynx documentation]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Lynx (disambiguation) — NOTOC Lynx is a type of wild cat. Lynx may also refer to: Business * LYNX Express (often branded simply as LYNX), formerly one of the UK s largest independent parcel carriers, now owned by UPS * Lynx electrical appliances, a brand of electrical… …   Wikipedia

  • Lynx (web browser) — Not to be confused with Links (web browser) or LynxOS. Lynx Wikipedia Article displayed in Lynx Original author(s) Lou Mont …   Wikipedia

  • Gopher (protocol) — Internet protocol suite Application layer BGP DHCP DNS FTP HTTP …   Wikipedia

  • Hypertext Transfer Protocol — HTTP Persistence · Compression · HTTPS Request methods OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT Header fields Cookie · ETag · Location · Referer DNT · …   Wikipedia

  • Online Certificate Status Protocol — The Online Certificate Status Protocol (OCSP) is an Internet protocol used for obtaining the revocation status of an X.509 digital certificate. It is described in RFC 2560 and is on the Internet standards track. It was created as an alternative… …   Wikipedia

  • Gopher protocol — Gopher  Pour l’article homonyme, voir Gopher (animateur).  Pile de protocoles 7 • Application 6 • …   Wikipédia en Français

  • List of file transfer protocols — A list of notable file transfer protocols: Contents 1 List of file transfer protocols 1.1 Primarily used with TCP/IP 1.2 Primarily used with UDP 1.3 …   Wikipedia

  • environment — environmental, adj. environmentally, adv. /en vuy reuhn meuhnt, vuy euhrn /, n. 1. the aggregate of surrounding things, conditions, or influences; surroundings; milieu. 2. Ecol. the air, water, minerals, organisms, and all other external factors… …   Universalium

  • Comparison of web browsers — September 2011, web browser usage share. Source: Median values from summary table …   Wikipedia

  • Line Mode Browser — displaying the German Wikipedia Original author(s) …   Wikipedia

Share the article and excerpts

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