On 2024-10-07 14:30, Paul Koning wrote:
On Oct 6, 2024, at 7:13 PM, Johnny Billquist
<bqt(a)softjar.se> wrote:
The 16 bytes of optional data at connect and disconnect time can be generated by both
sides, and read by the other side optionally.
I don't know how TOPS-20 do things around this, but here is what I know from RSX:
When a connect request is sent, the request can include up to 16 bytes of data. The
process that receives the connect request can read this data out, even before accepting
the connection.
...
NICE use it to inform which version of the NICE protocol is used, so that other other
side can understand and also adjust. It's a sort of negotiation going on for this one,
and TOPS-20 *must* be implementing it there, so there is one place you should be able to
find something.
Yes, the typical use of connect data is for version number negotiation, which is a common
feature of DEC protocols. In that case, the connect confirm data contains the negotiated
version number -- the lower of what the two endpoints support. Occasionally something
else appears, for example in the MIRROR protocol where the connect init contains no data
and the connect confirm reports the max loop message size the mirror responder will
handle.
MAIL11 actually stuffs file attributes in there, for the case that you
are sending a file. Pretty much all the RMS attributes. But of course,
that is very optional, and for mails with text, mailers don't care. And
the version number, and OS identifier is mostly for fun. But there are
also a word or two that tells what capabilities MAIL11 supports, and the
mail includes. Such things as if there is a CC: list of recipients as well.
So MAIL11 is pretty wild, if the optional data is used fully.
I'm not so sure of disconnect data; it might carry
the version number of the sender if a connect init is rejected due to version mismatch.
The NICE spec would be expected to say such a thing, but it doesn't.
Connect init reject is separate from disconnect.
And yes, the NICE spec is a bit lacking in some place, like this.
But I could for example think that you could include a reason for
disconnecting in the disconnect message.
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt(a)softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol