EOS_P2P_CloseConnectionOptions

EOS API reference page for EOS_P2P_CloseConnectionOptions

This data structure is part of the P2P Interface.

Remarks

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

Properties

EOS_P2P_CloseConnectionOptions

Property

Value

int32_t ApiVersion

API Version: Set this to EOS_P2P_CLOSECONNECTION_API_LATEST.

EOS_ProductUserId LocalUserId

The Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite)

EOS_ProductUserId RemoteUserId

The Product User ID of the remote user to disconnect from (or to reject a pending invite from)

const EOS_P2P_SocketId* SocketId

The socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User)

Related API Members