Software Flow Control - Mechanism

Mechanism

When one end of a data link is unable to accept any more data (or approaching that point), it sends XOFF to the other end. The other end receives the XOFF code, and suspends transmission. Once the first end is ready to accept data again, it sends XON, and the other end resumes transmission.

For example, imagine a computer connected to a slow printer. The computer starts sending data to the printer. Since the computer is faster than the printer, the printer falls behind and approaches a situation where it would be overwhelmed by the data. The printer reacts to this by sending XOFF to the computer. The software on the computer "sees" the XOFF, and temporarily stops sending data. Once the printer has "caught up", it sends XON to the computer. The computer sees XON, and starts sending data again.

XOFF/XON can be employed in both directions—for example, two teleprinters connected to each other.

Read more about this topic:  Software Flow Control

Famous quotes containing the word mechanism:

    Life is an offensive, directed against the repetitious mechanism of the Universe.
    Alfred North Whitehead (1861–1947)

    The two elements the traveler first captures in the big city are extrahuman architecture and furious rhythm. Geometry and anguish. At first glance, the rhythm may be confused with gaiety, but when you look more closely at the mechanism of social life and the painful slavery of both men and machines, you see that it is nothing but a kind of typical, empty anguish that makes even crime and gangs forgivable means of escape.
    Federico García Lorca (1898–1936)

    I’ve never known a Philadelphian who wasn’t a downright “character;” possibly a defense mechanism resulting from the dullness of their native habitat.
    Anita Loos (1888–1981)