The cached value is only set by EOS_P2P_QueryNATType when it is explicitly called and further calls will update the value. This value is never cleared unless the P2P client is shut down. There are no conditions under which this cache might be unset while the client is running. The cached value can…
https://dev.epicgames.com/community/learning/knowledge-base/xdw5J/epic-online-services-what-is-the-expiry-on-the-cached-value-set-by-eos_p2p_querynattype