EOS_ERelayControl

EOS API reference page for EOS_ERelayControl

Choose your implementation method:

C

C#

This enumerated type is part of the P2P Interface.

Remarks

Setting for controlling whether relay servers are used

Values

EOS_ERelayControl

Enumerated Value

Meaning

EOS_RC_NoRelays

Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers.

EOS_RC_AllowRelays

Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed.

EOS_RC_ForceRelays

Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers.

Related API Members

This enumerated type is part of the P2P Interface.

Remarks

Setting for controlling whether relay servers are used

Values

P2P.RelayControl

Enumerated Value

Meaning

NoRelays

Peer connections will never attempt to use relay servers. Clients with restrictive NATs may not be able to connect to peers.

AllowRelays

Peer connections will attempt to use relay servers, but only after direct connection attempts fail. This is the default value if not changed.

ForceRelays

Peer connections will only ever use relay servers. This will add latency to all connections, but will hide IP Addresses from peers.

Related API Members

Tags