EOS_P2P_ClearPacketQueue

EOS API reference page for EOS_P2P_ClearPacketQueue

1분 미만 소요

This function is part of the P2P Interface.

Remarks

Clear queued incoming and outgoing packets.

Return Value

  • EOS_EResult::EOS_Success - if the input options were valid (even if queues were empty and no packets where cleared)

  • EOS_EResult::EOS_IncompatibleVersion - if wrong API version

  • EOS_EResult::EOS_InvalidUser - if an invalid/remote user was used

  • EOS_EResult::EOS_InvalidParameters - if input was invalid in other way

Parameters

EOS_P2P_ClearPacketQueue

Parameter Type And NameUsage Information
EOS_HP2P Handle
const EOS_P2P_ClearPacketQueueOptions* OptionsInformation about which queues should be cleared