Peer.RoundTripTime
Options
qaz
✭
Hello,
peer.RounTripTime and peer.RoundTripTimeVariance are always 0.
Do I need to make some configuration changes to server for it to work, or it is not yet implemented?
peer.RounTripTime and peer.RoundTripTimeVariance are always 0.
Do I need to make some configuration changes to server for it to work, or it is not yet implemented?
0
Comments
-
Hello qaz!
The RTT & Variance is only set for UDP / ENet peers, not for TCP peers. We should add better documentation for that - thanks for the hint. We'll probably add it for TCP at a later time.
Another possibility:
Does your "peer" object inherit from PeerBase (for peers that represent incoming connections) or from ServerPeerBase (for peers that represent outgoing / s2s connections)? We had a bug where RTT & Variance where not set for ServerPeerBase, that one will be fixed in the next Server SDK release.0 -
Hello Nicole,
Thanks for reply, peer inherits PeerBase.
I hope it will be added to tcp soon.0 -
downloaded 3.4 but this feature still isn't available.
will it be added in future versions?0