How to get the current ping?

Options

Hello!

I am trying to find an easy way to get the current ping. We are using MLAPI with Photon Realtime but we can't find a way to check the current connection ping.

Thank you in advance!

Best Answer

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Oh, sorry for the late reaction. Overlooked this.

    Do you have access to a LoadBalancingClient? If so, check client.LoadBalancingPeer.RoundTripTime.

Answers

  • Tobias
    Tobias admin
    Answer ✓
    Options

    Oh, sorry for the late reaction. Overlooked this.

    Do you have access to a LoadBalancingClient? If so, check client.LoadBalancingPeer.RoundTripTime.

  • Awesome, I found it. Thank you very much :)