pub type EOS_P2P_OnQueryNATTypeCompleteInfo = _tagEOS_P2P_OnQueryNATTypeCompleteInfo;Expand description
Structure containing information about the local network NAT type
Aliased Type§
#[repr(C)]pub struct EOS_P2P_OnQueryNATTypeCompleteInfo {
pub ResultCode: i32,
pub ClientData: *mut c_void,
pub NATType: i32,
}Fields§
§ResultCode: i32Result code for the operation. EOS_Success is returned for a successful query, other codes indicate an error
ClientData: *mut c_voidClient-specified data passed into EOS_P2P_QueryNATType
NATType: i32The queried NAT type