Callback for when a peer has joined the session represented by the Connection (for example, a node joined the secure group or hub).
This callback will be called periodically when a peer is known to have joined the session. Only updates after the listener was added will be reported.
This callback may be NULL to ignore notification of added peers.
- Parameters
-
self | The listener object. This will never be NULL. |
connection | The connection for which the peer addition is being reported. This will never be NULL. |
address | The address of the peer that joined. This will never be NULL. |
scope | The security scope of the peer that joined. This may be the same as the connection, or some subset of it. This will never be NULL. |