Skip to main content

6. Initial Connection Protocol - Connection Phase

6. Initial Connection Protocol - Connection Phase​

The following sequence is as presented in RFC 80. It is restated here for completeness.

  1. To intiate contact, the using process requests a connection of his receive socket (US) to a socket (SERV) in the serving host. By convention, this socket has the 24-bit user number field set to zero. The 8-bit tag or AEN field is set to one indicating the socket gender to be that of a sending socket. There is no restriction on the choice of the socket US other than it be of of the proper gender; in this case a receive socket. As a result the using NCP sends:
                        User -> Server

8 32 32 8
+-----+------------+------------+-----+
| RTS | US | SERV | P |
+-----+------------+------------+-----+

over the control link one, where P is the receive link assigned by the user's NCP.

  1. The serving host now has the option of accepting the request for connection or closing the the connection.

    a. If he sends a close it is understood by the user that the foreign host is unable to satisfy a request for service at this time. The serving host's NCP would send:

                      Server -> User

8 32 32
+-----+-----------+------------+
| CLS | SERV | US |
+-----+-----------+------------+

with the user's NCP sending the echoing close:

                      User -> Server

8 32 32
+-----+-----------+------------+
| CLS | US | SERV |
+-----+-----------+------------+

b. If the serving host is willing to provide service it will accept the connection and immediately close the connection. This results in the the serving host's NCP sending:

                      Server -> User

8 32 32
+-----+-----------+------------+
| STR | SERV | US |
+-----+-----------+------------+

8 32 32
+-----+-----------+------------+
| CLS | SERV | US |
+-----+-----------+------------+

with the user's NCP sending the echoing close. It sends:

                      User -> Server

8 32 32
+-----+-----------+------------+
| CLS | US | SERV |
+-----+-----------+------------+

It should be mentioned that the echoing closes are required by the host-to-host protocol and not by the logger initial connection protocol.