This function is part of the P2P Interface.
Remarks
Query the current NAT-type of our connection.
Parameters
EOS_P2P_QueryNATType
Parameter Type And Name | Usage Information |
---|---|
EOS_HP2P Handle | |
const EOS_P2P_QueryNATTypeOptions* Options | Information about what version of the EOS_P2P_QueryNATType API is supported |
void* ClientData | arbitrary data that is passed back to you in the CompletionDelegate |
const EOS_P2P_OnQueryNATTypeCompleteCallback CompletionDelegate | The callback to be fired when we finish querying our NAT type |
Callback Function Information
Because this function is asynchronous, it employs a callback of type EOS_P2P_OnQueryNATTypeCompleteCallback to report the results of its operation.
Callback Remarks
Callback for information related to our NAT type query completing.
Callback Parameters
EOS_P2P_OnQueryNATTypeCompleteCallback
Parameter Type And Name | Usage Information |
---|---|
const EOS_P2P_OnQueryNATTypeCompleteInfo* Data |