EOS_P2P_GetNextReceivedPacketSize

EOS API reference page for EOS_P2P_GetNextReceivedPacketSize

実装方法を選んでください。

C

C#

This function is part of the [P2P Interface](Interfaces/P2P).

Remarks

Gets the size of the packet that will be returned by ReceivePacket for a particular user, if there is any available packets to be retrieved.

Return Value

  • EOS_EResult::EOS_Success - If OutPacketSizeBytes was successfully set and there is data to be received

  • EOS_EResult::EOS_InvalidParameters - If input was invalid

  • EOS_EResult::EOS_NotFound - If there are no packets available for the requesting user

Parameters

EOS_P2P_GetNextReceivedPacketSize

Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_GetNextReceivedPacketSizeOptions* Options

Information about who is requesting the size of their next packet

uint32_t* OutPacketSizeBytes

The amount of bytes required to store the data of the next packet for the requested user

Related API Members

This function is part of the [P2P Interface](Interfaces/P2P).

Remarks

Gets the size of the packet that will be returned by ReceivePacket for a particular user, if there is any available packets to be retrieved.

Return Value

  • EOS_EResult::EOS_Success - If OutPacketSizeBytes was successfully set and there is data to be received

  • EOS_EResult::EOS_InvalidParameters - If input was invalid

  • EOS_EResult::EOS_NotFound - If there are no packets available for the requesting user

Parameters

P2P.P2PInterface.GetNextReceivedPacketSize

Parameter Type And Name

Usage Information

GetNextReceivedPacketSizeOptions options

Information about who is requesting the size of their next packet

uint outPacketSizeBytes

The amount of bytes required to store the data of the next packet for the requested user

Related API Members

タグ