3.1.5.1 Receiving an SSDP Response

When an SSDP response (as specified in [UPNPARCH1], section 1) is received, the PNRP node MUST handle it as follows:

First, it finds the entry in the Cloud Table corresponding to the request (for example, based on the SSDPResponseRequestIdentifier URI in the cloud entry to the ST field of the response). If no match is found, the node MUST drop the SSDP response.

The format of the text in the AL field MUST be in the form of an IPv6 Addresses and port in the format as specified in [RFC2732] (for example, the format of the host name of a URL). If it is not correctly formatted, the response MUST be discarded.

If CloudDiscoverySSDPTargetCount is less than 5, initiate the synchronization as specified in section 3.1.4.3 to the address and port indicated in the AL Element of the SSDP response. CloudDiscoverySSDPTargetCount MUST then be incremented.

Otherwise, it discards the SSDP response.