Skip to main content

Symmetry

Some of the TENEX group (in particular, Thomas, Burchfiel and Tomlinson) have pointed out to us that although we have made the rules for the protocol symmetrical, we have not made the meanings of the commands symmetrical. For example, the interpretations of the ECHO command -- 'I'll echo to you' and 'You echo to me' -- implicitly assume that both the server and user know who is which. This is a problem not only for server-server connections where it is not clear which is the user, but also for user-user connections, e.g., in linking Teletypes together, where it is not clear which is the server.

Responding to this, we came to understand that there are only five reasonable modes of operation for the echoing on a connection pair [4]:

                         <------------------<
A Process 1 Process 2
>------------------>
neither end echoes

<------------------<
B Process 1 <--+ Process 2
^
>--^--------------->
one end echoes for itself

<------------------<
C Process 1 <--------------+ Process 2
^
>--------------^--->
one end echoes for the other

<--------------V---<
D Process 1 <--+ V Process 2
^ +--->
>--^--------------->
both ends echo for themselves

<-----V------------<
E Process 1 <--+ V Process 2
^ +------------>
>--^--------------->
one end echoes for both ends

The TENEX group suggested to us that four commands are sufficient to deal with completely symmetric echoing. We have actually already mentioned the four commands -- the two possible meanings for each of ECHO and NO ECHO. Explicitly, the commands would be I'LL ECHO TO YOU, YOU ECHO TO ME, DON'T ECHO TO ME and I'LL NOT ECHO TO YOU. Echoing is now the negotiation of two options, and the initial, default modes are DON'T ECHO TO ME and I'LL NOT ECHO TO YOU.

In the case where the server or user knows which he is, the modification to the scheme is minimal since the commands never had ambiguous meanings in these cases. When an 'end' truly doesn't know, then things are a little more complicated -- for example, consider both ends in I'LL ECHO TO YOU mode, but even then the problems are not insurmountable.

Once the principle of symmetry is adopted, it is no longer possible to use a function in two different ways. On pages 5 and 6 of RFC 318, Postel gives a description of INS and SYNC which indicates that they are used to simulate a 'break' user-to-server, but flush the output buffers server-to-user. Since we do believe in symmetry, we suggest that the INS/DATA-MARK be treated the same in both directions and that a new CLEAR YOUR BUFFER option be added.