EOS_P2P_SendPacketOptions

EOS API reference page for EOS_P2P_SendPacketOptions

Choose your implementation method:

C

C#

This data structure is part of the P2P Interface.

Remarks

Structure containing information about the data being sent and to which player

Properties

EOS_P2P_SendPacketOptions

Property

Value

int32_t ApiVersion

API Version: Set this to EOS_P2P_SENDPACKET_API_LATEST.

EOS_ProductUserId LocalUserId

The Product User ID of the local user who is sending this packet

EOS_ProductUserId RemoteUserId

The Product User ID of the Peer you would like to send a packet to

const EOS_P2P_SocketId* SocketId

The socket ID for data you are sending in this packet

uint8_t Channel

Channel associated with this data

uint32_t DataLengthBytes

The size of the data to be sent to the RemoteUser

const void* Data

The data to be sent to the RemoteUser

EOS_Bool bAllowDelayedDelivery

If false and we do not already have an established connection to the peer, this data will be dropped

EOS_EPacketReliability Reliability

Setting to control the delivery reliability of this packet

Related API Members

This data structure is part of the P2P Interface.

Remarks

Structure containing information about the data being sent and to which player

Properties

P2P.SendPacketOptions

Property

Value

int ApiVersion

API Version: Set this to EOS_P2P_SENDPACKET_API_LATEST.

ProductUserId LocalUserId

The Product User ID of the local user who is sending this packet

ProductUserId RemoteUserId

The Product User ID of the Peer you would like to send a packet to

SocketId SocketId

The socket ID for data you are sending in this packet

byte Channel

Channel associated with this data

byte[] Data

The data to be sent to the RemoteUser

bool AllowDelayedDelivery

If false and we do not already have an established connection to the peer, this data will be dropped

PacketReliability Reliability

Setting to control the delivery reliability of this packet

Related API Members

Tags