EOS_P2P_AddNotifyPeerConnectionClosedOptions

EOS API reference page for EOS_P2P_AddNotifyPeerConnectionClosedOptions

阅读时间少于1分钟

This data structure is part of the P2P Interface.

Remarks

Structure containing information about who would like notifications about closed connections, and for which socket.

Properties

EOS_P2P_AddNotifyPeerConnectionClosedOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_P2P_ADDNOTIFYPEERCONNECTIONCLOSED_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who would like notifications
const EOS_P2P_SocketId* SocketIdThe optional socket ID to listen for to be closed. If NULL, this function handler will be called for all closed connections