peerGetHostServer
Returns the SBServer object associated with the staging room host.
- SBServer peerGetHostServer(
- PEER peer );
Routine | Required Header | Distribution |
---|---|---|
peerGetHostServer | <peer.h> | SDKZIP |
Return Value
Returns the SBServer object associated with the staging room host. NULL if the local client is not a member of a staging room.
Parameters
- peer
- [in] Initialized peer object.
Remarks
The peerGetHostServer function returns the SBServer object associated with the local host. Information on the host may be retrieved using the SBServer data accessors.
Section Reference: Gamespy Peer SDK