Freigeben über


XblMultiplayerSessionSetMatchmakingServerConnectionPath

Forces a specific server connection string to be used, useful in preserveSession=always cases.

Syntax

void XblMultiplayerSessionSetMatchmakingServerConnectionPath(  
         XblMultiplayerSessionHandle handle,  
         const char* serverConnectionPath  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

serverConnectionPath   _In_z_
Type: char*

The server connection path. Setting this path can be useful when the session is preserved.

Return value

Type: void

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c