text
stringlengths
0
99.6k
packets. To circumvent this degradation, the following
heuristic is recommended:
Initialize SA_Error_Count to zero.
If packets are retransmitted, increment SA_Error_Count by 3.
If SA_Error_Count is greater than or equal to 12, drop out of
Send-Ahead mode (ie, revert to send and wait mode).
When a packet is ACKed, and SA_Error_Count is greater than
zero, decrement SA_Error_Count by one.
The values (increment by 3, limit of 12, decrement by 1) can be
varied in accord with the implementor's experience, perhaps
being established by user-definable parameters.
26
J. B Plus Transport Layer.
Some distributed applications (that is, applications in
which the Initiator and Responder each perform some of the
work) require that blocks of information be exchanged.
Running such applications over normal communication channels
can cause loss or altering of data, yielding unpredictable
results. To aleviate this possibility, the B Plus Protocol
provides the ability to use the underlying packet structure
to exchange blocks of data with error detection and
retransmission.
Entering the Transport Layer operation is more complicated
than the File Transfer mode previously described:
o The user invokes a CompuServe application
o The application program transmits a CompuServe
Application Protocol escape sequence.
o The user's terminal program responds with an escape
sequence which informs the host application that it
must use the Transport Layer.
o The host program initializes its B Plus routines,
setting the Transport Layer parameter to 0x01.
o The terminal program waits until its own B Plus
routines have been initialized, also setting the
Transport Layer parameter to 0x01.
o Once the host and remote B Plus routines have
exchanged their Transport Layer Parameters, the
Transport Layer is in effect. The succeeding action
is a function of the application.
From an implementation standpoint, the primary differences
from the B Plus Protocol so far described are:
o Separate Packet Sequence Numbers are maintained for
sending and receiving.
o Received Packets are placed in a first-in-first-out
queue.
o Another level of software is placed between the
packet handlers and the application. This level is
responsible for sending and receiving blocks of data,
packaging them into protocol-sized packets.
The following Packet Types are used in the Transport Layer:
`M': This is a data packet; another data packet follows.
`L': This is the last data packet for the current block.
A Failure Packet will terminate the transport layer for both
entities.