3.1.7.26 An Incoming Connection Is Established

The diagram below shows the finite state machine associated with accepting an incoming connection and disconnect.

State transitions when accepting an incoming message

Figure 4: State transitions when accepting an incoming message

When a connection is established to the local node, the following steps MUST be taken by the node in order to accept the connection:

  • The local node MUST start the Authentication Timer.

  • The local node MUST accept the TCP connection.

  • The Connection state MUST be set to IN_CONN_STATE_ACCEPTED.

  • The connection's connection utility MUST be set to 0.