develop-05 9101 Winter 1991
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
PDF page 12
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