SBServerDirectConnect
Indicates whether the server supports direct UDP connections.
- SBBool SBServerDirectConnect(
- SBServer server );
Routine | Required Header | Distribution |
---|---|---|
SBServerDirectConnect | <sb_serverbrowsing.h> | SDKZIP |
Return Value
Returns SBTrue if a direct connection is possible, otherwise SBFalse.
Parameters
- server
- [in] A valid SBServer object.
Remarks
A return of SBFalse usually means that NatNegotiation is required.
Section Reference: Gamespy Server Browsing SDK
See Also: ServerBrowserNew, ServerBrowserUpdate, ServerBrowserGetServer