EOS_P2P_GetNATType

EOS API reference page for EOS_P2P_GetNATType

1분 미만 소요

This function is part of the P2P Interface.

Remarks

Get our last-queried NAT-type, if it has been successfully queried.

Return Value

  • EOS_EResult::EOS_Success - if we have cached data

  • EOS_EResult::EOS_NotFound - If we do not have queried data cached

Parameters

EOS_P2P_GetNATType

Parameter Type And NameUsage Information
EOS_HP2P Handle
const EOS_P2P_GetNATTypeOptions* OptionsInformation about what version of the EOS_P2P_GetNATType API is supported
EOS_ENATType* OutNATTypeThe queried NAT Type, or unknown if unknown