Skip to main content

IV. Resynchronization By Receiver

The re-synchronization sequence may be triggered by the receiving NCP. Such resynchronization could be initiated manually by TIP and TELNET users who are expecting output but receiving none. Again assuming that allocation has been lost, the appropriate action is to reset the connection by sending an RCR command. This action is also appropriate if an inconsistent event occurs with respect to the connection. (e.g. arrival of a message which exceeds allocation).

To initiate re-synchronization, the receiving NCP should:

1.) Put the connection into a "waiting-for-RCS-reply" state. No more allocates may be transmitted for this connection until the RCS reply is received.

2.) Send the RCR command.

3.) Continue to process regular messages normally, updating the variables which indicate outstanding bit and message allocation.

When the sending NCP receives the RCR command, it should:

1.) Wait until the message pipeline is empty, i.e. until the RFNM has been received for each regular message sent over the connection. This synchronizes the control and data activity, and also assures that the data stream will not be corrupted during the control re-synchronization exchange.

2.) Zero the variables indicating outstanding bit and message allocation.

3.) Put the connection into the "ready-to-send-message" state in preparation for any forthcoming ALL commands.

4.) Confirm the re-synchronization by sending the RCS reply.

When the receiving host receives the RCS reply, it should:

1.) Zero the variables indicating outstanding bit and message allocation.

2.) Reset the connection to the state which indicates readiness to accept a message.

3.) Reconsider bit and message allocation, and send an ALL command for any allocation it cares to do.