CHAILink SDK
Version 1.3
|
typedef void(* NH_PIPE_PEERCHANGE)(CPHOBJECT const hPipe, CPUINT32 const dwPipeUserData, CPENDPOINT const *const pPeer, CPBOOLEAN const fNewPeer) |
Peer change notification.
Called if a new peer is connected, or if a peer is silent (the pipe does not receive message or internal system message for 2 seconds).
[in] | hPipe | Handle to the notified pipe. |
[in] | dwPipeUserData | The user data associated to the pipe handle during its creation. |
[in] | pPeer | Pointer to the concerned peer endpoint. |
[in] | fNewPeer | TRUE if this notifies a new peer, FALSE for a lost peer |