EOS_P2P_AddNotifyPeerConnectionClosedOptions

EOS API reference page for EOS_P2P_AddNotifyPeerConnectionClosedOptions

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

Property

Value

int32_t ApiVersion

API Version: Set this to EOS_P2P_ADDNOTIFYPEERCONNECTIONCLOSED_API_LATEST.

EOS_ProductUserId LocalUserId

The Product User ID of the local user who would like notifications

const EOS_P2P_SocketId* SocketId

The optional socket ID to listen for to be closed. If NULL, this handler will be called for all closed connections

Related API Members