EOS_P2P_GetNATType

EOS API reference page for EOS_P2P_GetNATType

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

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