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 |