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 );
Routine | Required Header | Distribution |
---|---|---|
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.
Section Reference: Gamespy Server Browsing SDK
See Also: ServerBrowserNew, ServerBrowserUpdate, ServerBrowserGetServer