SBServerDirectConnect

GameSpy SDK

SBServerDirectConnect

Indicates whether the server supports direct UDP connections.

SBBool SBServerDirectConnect(
SBServer server );
RoutineRequired HeaderDistribution
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.