EOS_P2P_GetNATType

EOS API reference page for EOS_P2P_GetNATType

実装方法を選んでください。

C

C#

This function is part of the [P2P Interface](Interfaces/P2P).

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 Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_GetNATTypeOptions* Options

Information about what version of the EOS_P2P_GetNATType API is supported

EOS_ENATType* OutNATType

The queried NAT Type, or unknown if unknown

Related API Members

This function is part of the [P2P Interface](Interfaces/P2P).

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

P2P.P2PInterface.GetNATType

Parameter Type And Name

Usage Information

GetNATTypeOptions options

Information about what version of the EOS_P2P_GetNATType API is supported

NATType outNATType

The queried NAT Type, or unknown if unknown

Related API Members

タグ