Second Level Description
Notation
The following notation will be used for the NCP Control Command used in ICP.
STR (ls, fs, s)
ls= local send socketfs= foreign receive sockets= byte size
RTS (ls, fs, l)
ls= local receive socketfs= foreign send socketl= link
ALL (l, m, b)
l= linkm= message allocationb= bit allocation
CLS (ls, fs)
ls= local socketfs= foreign socket
The same family of ICP's is now described again.
| Server | User |
|---|---|
| S1: listening on socket L. | U1: RTS (U, L, l1) |
| S2: Wait for match. | U2: Wait for match. |
| S3: STR (L, U, s1) | |
| S4: Wait for allocation. | U3: ALL (l1, m1, b1) |
| S5: Send data S in s1 bit bytes as allowed by allocation m1, b1). | U4: Receive data S in s1 bit bytes. |
| S6: CLS (L, U) | U5: CLS (U, L) |
| S7: RTS (S, U+3, l2) | U6: STR (U+3, S, s2) |
| S8: STR (S+1, U+2, s3) | U7: RTS (U+2, S+1, l3) |
The labels here imply no ordering except that ordering required by the Host-Host Protocol. Note that steps S7 and S8 can be reversed as can U6 and U7. Also, notice that at any time after S2 the server could initiate steps S7 and S8 in parallel with steps S3 through S6, and that at any time after U4 the user could initiate steps U6 and U7 in parallel with step U5.
Following the above, exchanges ALL commands would be exchanged and data transfers could begin.
At this level the parameters of the above ICP family are L, m1, b1, s1, s2, s3, l1, l2, l3.
L is a well known socket number and will be specified for each type of service.
m1 and b1 are allocation quantities for the transfer of a socket number.
- m1 is specified to be 1.
- b1 is specified to be 32.
- s1, s2, and s3 are byte sizes. Only s1 is to be specified as s2 and s3 are to be left to the process involved. s1 is specified to be 32.
- l1, l2, and l3 are links and are not specified.
Note: Some hosts currently have difficulty sending 32 bit bytes. Thus, it is temporarily allowed to send the socket number S as four 8 bit bytes in one message.
It is legal for the NCP to receive RTS or STR before the corresponding local Init or Listen is issued. Therefore, it is suggested that requests for connection to idle sockets be queued as allowed by time and space limitations.