Check the quality of player's internet connection in an authoritative match

Hello!

I’m looking for a way to measure the quality of players connections in an authoritative match. I was wondering whether there are built-in functionalities for this. Something like a “ping” value for presences.

One way would be to expect the players to send match state messages with certain opcodes in certain timespans as a way to notify the match handler that they’re responsive. (Because there might be a scenario in which the socket is connected, but the player has a poor internet connection.)

Hello @amuuu,

there’s no built-in functionality for this. You can certainly implement it in the server match handler as you mentioned, but I’d recommend doing it in a custom socket RPC call to calculate the network round-trip time, as you’d be able to use it outside of the match as well.

1 Like