EOS_P2P_AddNotifyPeerConnectionRequestOptions

EOS API reference page for EOS_P2P_AddNotifyPeerConnectionRequestOptions

少于一分钟

This data structure is part of the P2P Interface.

Remarks

Structure containing information about who would like connection notifications, and about which socket.

Properties

EOS_P2P_AddNotifyPeerConnectionRequestOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_P2P_ADDNOTIFYPEERCONNECTIONREQUEST_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the user who is listening for incoming connection requests
const EOS_P2P_SocketId* SocketIdThe optional socket ID to listen for, used as a filter for incoming connection requests; If NULL, incoming connection requests will not be filtered