Skip to main content

2. IMP-to-Host Messages of Types Other Than 0, 4, and 5

From the BBN report 1822, the following message types will cause difficulty in the implementation of the Protocol.

  1. Type 2 - IMP going down.
  2. Type 7 - Destination host or IMP dead.
  3. Type 9 - Incomplete transmission.

It was discovered that on sending a message to a site whose IMP or host is not running, a Type 7 or Type 9 message is returned. This can happen in two situations:

  1. The foreign host or IMP is not up at all.
  2. Some connections have been established, and the foreign host or IMP goes down.

The first situation does not cause much problem because the NCP has no entry in its table corresponding to this site.

The second situation is more complicated, because if the table entries for the connections to the dead host are not cleared, by the time this host comes up again, the table entries still exist and the information will be very misleading. One suggestion to solve this problem is:

  1. Whenever an NCP comes up, it sends a RESET Control Command to every other site.
  2. Associated with each site there is a bit called the up-bit. If a RESET-reply command is received from some site, the corresponding up-bit is set to 1. Race condition can be avoided by ignoring all messages from sites which have not returned the RESET-reply command.
  3. Messages can only be sent to sites with the up-bit on.
  4. If a RESET control command is received, the table entries corresponding to the site are cleared, a RESET-reply is immediately returned, and the up-bit for the site is set.
  5. The up-bit is reset to 0 when a Type 7 or Type 9 message is received from a particular site.

The above solution will handle the Type 2 messages also. When a host receives a Type 2 message, there is no way for it to tell the other NCP's that its IMP is going down. Subsequent messages to this host will return a Type 7 or 9 message. The solution above will then come into effect.

With the introduction of the RESET and RESET-reply Control commands, the ECO and ERP control commands are no longer important and should be removed.