# develop-05 9101 Winter 1991 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-05-9101-winter-1991-5330fc/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-05-9101-winter-1991-5330fc/2#scan-b46fe7f95ee04fa28cb8c9b1284e4a67fb419e1f7c7acd69cdd255ad8511e207)

Transcribed text:

The Apple Data Stream Protocol (ADSP) is used to communicate between LACS
systems. This protocol provides reliable byte-stream connections, correcting for any
errors in transmission across the network. When a LACS machine decides to spread
a message, it makes an ADSP connection with another LACS node. It exchanges
messages with the other machine and then closes the ADSP connection.
MESSAGE EXCHANGE PROTOCOL
LACS implements a message exchange protocol on top of ADSP’s reliable byte
stream. This message exchange protocol consists of separate commands, each having
a command name and a series of parameters. For example, the “Here’s a new
message” command includes the message itself, its origination and expiration dates,
and other related information as parameters.
The ADSP session consists of a series of command exchanges. The originating node
starts the conversation. The destination node then responds with a command of its
own. Usually, the conversation starts with an attempt by the originator to pass on a
message; this is known as “pushing.” But under some circumstances, the originator
may instead ask the other machine for a message; this is known as “pulling.” In that
case, the other machine takes control of the conversation and sends a message.
When the controlling side has nothing further to say, the connection is closed.
The message exchange protocol commands include
• “Here’s a new message.”
Valid responses: “I’ve seen it.” or “I haven’t seen it.”
• “Give me a hot message.”
Valid responses: “Here’s a new message.”
• “Give me a message; I don’t care if it’s hot or cold.”
Valid responses: “Here’s a new message.”
The responses “I’ve seen it” and “I haven’t seen it” are actually implemented as
commands as well. But they are only generated in response to a “Here’s a new
message” command.
The protocol is very simple and is designed to use only ASCII text in the commands
and responses. This makes it easy for someone to write a program other than LACS
that can become part of the community of message spreaders. For example, a
gateway could spread messages from the local network to a wider area network.
Or an archive agent could collect and save messages.
Internally, LACS keeps track of the number of times it successfully or unsuccessfully
tried to pass on a message. The number of failed attempts is used to determine when
a message becomes cold and also how long to wait until the next attempt to pass it on.
d e v e l o p   Winter 1991
10

Reading notes: Primary heading not clearly identified in supplied copy

Printed product names: Apple Data Stream Protocol · ADSP

Printed dates: Winter 1991

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/47661ca6e2c1bcdc3e67a31286dd552e4c28ddc255bc56c9505ab2ec2c862a97/develop-05_9101_Winter_1991.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-05-9101-winter-1991-5330fc/1.md)
