3.1.4.3 Connecting to a Group

This section specifies the operations of connecting to an existing group. The following information MUST be provided by the higher-layer application in order to connect to an existing group:

  • Local GMC or password: If a local GMC for the group is provided, the GMC MUST be used for the connection rather than the password.

  • Group Peer Name

  • Cloud Name

  • Local Peer Name

The Grouping Protocol implementation MUST trigger P2P Graphing to open the Graph corresponding to the group, as specified in [MS-PPGRH] section 3.1.4.2, providing the following parameters:

  • Graph ID MUST be set to Group Peer Name.

  • Peer ID MUST be set to the Local Peer Name.

  • Graph Security Provider MUST be set to the local Node.

Next, the node MUST find another active group member using PNRP as described below:

  • The node MUST open the PNRP Cloud as specified in section 3.1.4.2.

  • The node MUST then search for the Group Participant Peer Name in the opened Cloud, as specified in [MS-PNRP] section 3.1.4.4.

Once PNRP is queried, the node MUST connect to each address returned (one at a time) until one is successful. See [MS-PPGRH] section 3.1.7.24.

If no nodes are found, or connections to all the nodes that PNRP returned fail, the node MUST perform the following actions:

  • If a persisted database was loaded during initialization which contains the Security Properties record, the node MUST begin listening, as specified in section 3.1.4.4.

  • Otherwise, the node MUST NOT begin listening. The instance of P2P Grouping Security Protocol MUST be terminated.