EOS_P2P_SetPacketQueueSize

EOS API reference page for EOS_P2P_SetPacketQueueSize

1分で読めます

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 NameUsage Information
EOS_HP2P Handle
const EOS_P2P_SetPacketQueueSizeOptions* OptionsInformation about packet queue size