EOS_P2P_SetPacketQueueSize

EOS API reference page for EOS_P2P_SetPacketQueueSize

Choose your implementation method:

C

C#

This function is part of the P2P Interface.

Remarks

Sets the maximum packet queue sizes that packets waiting to be sent or received can use. If the packet queue size is made smaller than the current queue size while there are packets in the queue that would push this packet size over, existing packets are kept but new packets may not be added to the full queue until enough packets are sent or received.

Return Value

  • EOS_EResult::EOS_Success - if the input options were valid

  • EOS_EResult::EOS_InvalidParameters - if the input was invalid in some way

Parameters

EOS_P2P_SetPacketQueueSize

Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_SetPacketQueueSizeOptions* Options

Information about packet queue size

Related API Members

This function is part of the P2P Interface.

Remarks

Sets the maximum packet queue sizes that packets waiting to be sent or received can use. If the packet queue size is made smaller than the current queue size while there are packets in the queue that would push this packet size over, existing packets are kept but new packets may not be added to the full queue until enough packets are sent or received. {Result}::{Result.InvalidParameters} - if the input was invalid in some way

Return Value

{Result}::{Result.Success} - if the input options were valid

Parameters

P2P.P2PInterface.SetPacketQueueSize

Parameter Type And Name

Usage Information

SetPacketQueueSizeOptions options

Information about packet queue size

Related API Members

Tags