Here is what I see in the RSX sources:
;
; Phase III Session Control error reason codes returned
; with REJECT (REJ) or DISCONNECT (DSC)
;
NE$RES ='B' 1. ; Resource allocation failure (REJ)
NE$NOD ='B' 2. ; Destination node name does not map to
a node address (rej)
NE$NSR ='B' 3. ; Remote node shutting down (REJ)
NE$UOB ='B' 4. ; Destination process does not exist (REJ)
NE$FMT ='B' 5. ; Invalid format for object
specification (REJ)
NE$MLB ='B' 6. ; Mailbox full for queuing message to
object
; or too many connects to object (REJ)
NE$ABM ='B' 8. ; Link aborted by management (DSC)
NE$NNF ='B' 10. ; Node name format error (REJ)
NE$NSL ='B' 11. ; Local node shutting down (REJ)
NE$ACC ='B' 34. ; Access not permitted - unacceptable
; RQSTRID / PASSWORD ETC.(REJ)
NE$ABO ='B' 38. ; No response from object (REJ/DSC)
NE$COM ='B' 39. ; Unable to communicate with node (REJ/DSC)
;
; Symbols defined for PHASE II compatibility
;
; Note that codes which are not equated to the above PHASE III
; list are not returned by NSP to the user. These codes
; are defined solely to eliminate undefined symbols when
; PHASE II programs are linked.
;
NE$SSR ='B' 0 ; No error or single message reply
NE$NSD ='B' NE$NSR ; Node shutting down
NE$GEN ='B' 7. ; Unspecified error condition
NE$TPA ='B' NE$ABM ; Third party aborted logical link
NE$IFC ='B' 24. ; Invalid flow control value
NE$TCN ='B' 32. ; Too many connects to node
NE$TCO ='B' NE$MLB ; Too many connects to destination process
NE$ILS ='B' 35. ; Logical link services mismatch
NE$ACT ='B' NE$ACC ; Invalid account information - not
authorized or broke
NE$SSS ='B' 37. ; Segment size too small
NE$FCF ='B' 40. ; Flow control failure
NE$IMG ='B' NE$ACC ; Image data field too long
Johnny
On 2023-07-07 23:06, Paul Koning wrote:
More:
The session control spec makes a distinction between connect error codes
and reason codes as they appear in the protocol. For example, codes 20,
11, and 39 are error codes but not protocol codes. The reason is that
10 and 11 are internal errors -- if you get this then nothing was sent
on the wire -- and 39 is the outcome of something entirely different in
the protocol -- either a routing layer error return, or a message being
returned to sender as unreachable.
The description of 41 looks wrong; 41 as a protocol code means "no link
terminate" which is what NSP sends in response to an NSP message that
refers to a logical link address (connection identifier) that isn't
currently active. That has nothing to do with the destination process;
it normally occurs if the destination node has restarted, or if there
was a network outage long enough for the destination to delete the
connection but the source did not do likewise.
Code 42 is internal to the NSP protocol; you would never see that code
come back to an application as a status value. It's merely the encoding
of the message that acks a disconnect initiate; think of it as an ACK
that's encoded a bit strangely.
paul
On Jul 7, 2023, at 4:39 PM, Thomas DeBellis
<tommytimesharing(a)gmail.com <mailto:tommytimesharing@gmail.com>> wrote:
Where are all of these spelled out? I had looked in the Phase IVNSP
functional specification (NSP401.TXT) for them, but only a few seem to
be there.
The background is that I have further enhanced Kermit-20 to use direct
monitor connections when doing remote terminals and also to print the
text of a disconnect. I duly copied over the list inMONSYM, Etc.,
Etc., Etc. Earlier this week, I put some more contingency code into
FAL to handle server crashes. Basically, the controller would sit in
a loop forever restarting crashed server (DAP) forks. Now it waits a
while and stops completely after a certain number of restarts.
While I was at it, I checked its list and found that it was missing
text for disconnect codes 10, 11, 21, 22 and 23. Well, I put it in
but got to wondering what others there might be. Right now Tops-20
Kermit and DAP know about the following:
*Code*
*Reason Text*
0
Reject or disconnect by object
1
Resource allocation failure
2
Destination node does not exist
3
Remote node shutting down
4
Destination process does not exist
5
Invalid process name field
6
Object is busy
7
Unspecified error
8
Third party abort)
9
User abort (asynchronous disconnect)
/10/
/Invalid node name/
/11/
/Local node shut down/
/21/
/Connect Initiate with illegal destination address/
/22/
/Connect confirm with illegal destination address/
/23/
/Connect initiate or confirm with zero source address/
24
Flow control violation
32
Too many connections to node
33
Too many connections to destination process
34
Access not permitted
35
Logical link services mismatch
36
Invalid account
37
Segment size too small
38
No response from destination process
39
No path to destination node
40
Link aborted due to data loss
41
Destination process does not exist
42
Confirmation of Disconnect Initiate
43
Image data field too long
_______________________________________________
HECnet mailing list --hecnet(a)lists.dfupdate.se
<mailto:hecnet@lists.dfupdate.se>
To unsubscribe send an email tohecnet-leave(a)lists.dfupdate.se
<mailto:hecnet-leave@lists.dfupdate.se>
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se
To unsubscribe send an email to hecnet-leave(a)lists.dfupdate.se
--
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