EOS API reference page for EOS_P2P_SetRelayControl

This function is part of the P2P Interface.


Set how relay servers are to be used. This setting does not immediately apply to existing connections, but may apply to existing connections if the connection requires renegotiation.

Return Value

  • EOS_EResult::EOS_Success - if the options were set successfully

  • EOS_EResult::EOS_InvalidParameters - if the options are invalid in some way


Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_SetRelayControlOptions* Options

Information about relay server config options

Related API Members