SBServerGetPublicQueryPort

GameSpy SDK

SBServerGetPublicQueryPort

Returns the public query port of the specified server. This is the external port on which the GameSpy backend communicates with the server.

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

Return Value

The public query port.

Parameters

server
[in] A valid SBServer object.

Remarks

The SBServerGetPublicQueryPort function will return the public query port of the server.