EOS_P2P_AcceptConnectionOptions

EOS API reference page for EOS_P2P_AcceptConnectionOptions

1분 소요

This data structure is part of the P2P Interface.

Remarks

Structure containing information about who would like to accept a connection, and which connection.

Properties

EOS_P2P_AcceptConnectionOptions

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_P2P_ACCEPTCONNECTION_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who is accepting any pending or future connections with RemoteUserId
EOS_ProductUserId RemoteUserIdThe Product User ID of the remote user who has either sent a connection request or is expected to in the future
const EOS_P2P_SocketId* SocketIdThe socket ID of the connection to accept on