Skip to main content

EOS_P2P_SetPortRange

Function EOS_P2P_SetPortRange 

Source
pub unsafe extern "C" fn EOS_P2P_SetPortRange(
    Handle: EOS_HP2P,
    Options: *const EOS_P2P_SetPortRangeOptions,
) -> EOS_EResult
Expand description

Set configuration options related to network ports.

@param Options Information about network ports config options @return EOS_EResult containing the result of the operation. Possible result codes:

  • EOS_Success - if the options were set successfully
  • EOS_InvalidParameters - if the options are invalid in some way

@see EOS_P2P_SetPortRangeOptions