EOS API reference page for EOS_P2P_CloseConnectionOptions

1 min to read

This data structure is part of the P2P Interface.


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



int32_t ApiVersionAPI Version: Set this to EOS_P2P_CLOSECONNECTION_API_LATEST.
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who would like to close a previously accepted connection (or decline a pending invite)
EOS_ProductUserId RemoteUserIdThe Product User ID of the remote user to disconnect from (or to reject a pending invite from)
const EOS_P2P_SocketId* SocketIdThe socket ID of the connection to close (or optionally NULL to not accept any connection requests from the Remote User)