Skip to main content

ICP Commands

To establish a regular connection one party can issue an INIT (NCP sends RTS or STR commands), then the other party can accept the request for connection by responding with an INIT or refusing it with a CLOSE. We think that a similar, simple mechanism is desirable for the ICP. Furthermore, the ICP should allow for simplex as well as duplex connections from user to server.

The following commands are necessary for simplex connections:

  • ISC - Initiate Simplex Connection
  • ASC - Accept Simplex Connection
  • RSC - Refuse Simplex Connection

The notation for parameters is similar to that of RFC #165:

  • L - Server socket name, in one special case the server is "logger".
  • U - User socket.
  • S - Socket assigned by server for the connection with user.
  • X - Is the byte size if U is odd and is the link number if U is even.
X - Is the complement of X (X is the link number
if U is odd and byte size if U is even.

To initiate a simplex connection the user's NCP issues:

ISC, L, U, X

To refuse this connection the server's NCP issues:

RSC, L, U

To accept this connection the server's NCP issues:

ASC, L, U, S, X

Similarly, for duplex connections, we have:

IDC, L, U1, X1, U2, X2

RDC, L, U1, U2

ADC, L, U1, S1, X1, U2, S2, X2

where (U1,U2), (S1,S2), (U1,S1) and (U2,S2) are pairs of opposite gender.

After the server accepts the connection(s), it (they) goes immediately to a "connected state", and the appropriate ALL command(s) must be sent.