SBServerGetPrivateQueryPort

GameSpy SDK

SBServerGetPrivateQueryPort

Returns the private query port of the specified server. This is the internal port on which the server communicates to the GameSpy backend.

unsigned short SBServerGetPrivateQueryPort(
SBServer server );
RoutineRequired HeaderDistribution
SBServerGetPrivateQueryPort<sb_serverbrowsing.h>SDKZIP

Return Value

The private query port.

Parameters

server
[in] A valid SBServer object.

Remarks

The SBServerGetPrivateQueryPort function will return the private query port of the server.