EOS API reference page for EOS_P2P_OnPeerConnectionEstablishedInfo

1분 소요

This data structure is part of the P2P Interface.


Structure containing information about a connection being established



void* ClientDataClient-specified data passed into EOS_P2P_AddNotifyPeerConnectionEstablished
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who is being notified of a connection being established
EOS_ProductUserId RemoteUserIdThe Product User ID of the remote user who this connection was with
const EOS_P2P_SocketId* SocketIdThe socket ID of the connection being established
EOS_EConnectionEstablishedType ConnectionTypeInformation if this is a new connection or reconnection
EOS_ENetworkConnectionType NetworkTypeWhat type of network connection is being used for this connection