Patent attributes
A communication apparatus transmits a request message to connectable relay apparatuses, and receives a response message from the relay apparatuses. The communication apparatus determines whether the received request message includes the device identification data of a relay apparatus to which it is currently connected. If no received response message includes the device identification data of a relay apparatus to which it is currently connected, the communication apparatus requests another relay apparatus identified based on device identification data that is included in any of the received response messages to make a connection with the communication apparatus.