Choose your implementation method:
This function is part of the P2P Interface.
Get the current chosen port and the amount of other ports to try above the chosen port if the chosen port is unavailable.
Return Value
Parameters
EOS_P2P_GetPortRange
Parameter Type And Name
|
Usage Information
|
EOS_HP2P Handle
|
|
const EOS_P2P_GetPortRangeOptions* Options
|
Information about what version of the EOS_P2P_GetPortRange API is supported
|
uint16_t* OutPort
|
The port that will be tried first
|
uint16_t* OutNumAdditionalPortsToTry
|
The amount of ports to try above the value in OutPort, if OutPort is unavailable
|
This function is part of the P2P Interface.
Get the current chosen port and the amount of other ports to try above the chosen port if the chosen port is unavailable.
{Result}::{Result.InvalidParameters} - if the input was invalid in some way
Return Value
{Result}::{Result.Success} - if the input options were valid
Parameters
P2P.P2PInterface.GetPortRange
Parameter Type And Name
|
Usage Information
|
GetPortRangeOptions options
|
Information about what version of the EOS_P2P_GetPortRange API is supported
|
ushort outPort
|
The port that will be tried first
|
ushort outNumAdditionalPortsToTry
|
The amount of ports to try above the value in OutPort, if OutPort is unavailable
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no