EOS_P2P_GetNATType

EOS API reference page for EOS_P2P_GetNATType

Choose your implementation method:

C

C#

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 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.

Remarks

Get our last-queried NAT-type, if it has been successfully queried. {Result}::{Result.NotFound} - If we do not have queried data cached

Return Value

{Result}::{Result.Success} - if we have cached data

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

Tags