Skip to main content

XblContextSettingsSetWebsocketTimeoutWindow

Sets the web socket timeout window in seconds.

Syntax

Parameters

context   _In_
Type: XblContextHandle
XBOX live context that the settings are associated with. timeoutWindowInSeconds   _In_
Type: uint32_t
The timeout window in seconds. Default is 300 seconds. Set to 0 to turn off retry.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

Controls how long to spend attempting to retry establishing a web socket connection before failing.

Requirements

Header: xbox_live_context_settings_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

xbox_live_context_settings_c
Last modified on August 20, 2026