Skip to main content
Discovers QoS beacons via PFMultiplayerServerListQosServersForTitleAsync and pings each one over UDP/3075. Aggregates the latencies and returns the sorted list. Wall-clock duration is bounded by roughly ceil(regionCount / maxConcurrentRegions) * timeoutMs * pingsPerRegion plus the cost of the ListQosServersForTitle call.

Syntax

Parameters

entityHandle PFEntityHandle Authenticated PlayFab entity. The same handle accepted by PFMultiplayerServerListQosServersForTitleAsync. options PFMultiplayerServerPingQosServersOptions*
optional
Optional. NULL means apply defaults documented on PFMultiplayerServerPingQosServersOptions. async XAsyncBlock*
Inout
XAsyncBlock for the async operation. Honors XAsyncCancel.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on all platforms. A network where every region times out (for example, a corporate firewall blocking UDP/3075) is not a failure mode: the operation completes with S_OK and every PFMultiplayerServerQosResult is marked unreachable so callers can detect and surface that condition. When the asynchronous operation is complete, call PFMultiplayerServerPingQosServersGetResultSize and PFMultiplayerServerPingQosServersGetResult to retrieve the result.

Requirements

Header: PFMultiplayerServerQoS.h

See also

PFMultiplayerServerQoS members
Last modified on October 16, 2026