<div dir="ltr"><div>Hello,</div>
<div> </div>
<div>I was also wondering the best way to get the ping of a server when scanning servers. </div>
<div> </div>
<div>I found this:</div>
<div> </div>
<div>enet_peer_ping(peer);</div>
<div> </div>
<div>But I'm apparently getting pings of 400+ over LAN, which shouldn't be.</div>
<div>If I join the game.. I can slowly watch the ping drop down to 20 or so, but it takes a while. It seems like this is because</div>
<div>peer->lastRoundTripTime is returning an average over the last couple seconds? I know that it's meant to be the LAST</div>
<div>round trip time.. but why then does it take so long for the ping to settle down to ~20 over LAN?</div>
<div> </div>
<div>Anyway.. if I use enet_peer_ping(peer).. how do I know when the ping has been returned? Do I have to call </div>
<div>enet_host_service or something? I need to wait for the ping to be ponged before I can return the function with the updated ping.</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>Ben.<font color="#dcc8ff" size="2"><font color="#dcc8ff" size="2"></font></font></div></div>