EOS API reference page for EOS_P2P_SetPacketQueueSize

This function is part of the P2P Interface.


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


Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_SetPacketQueueSizeOptions* Options

Information about packet queue size

Related API Members