ParsecHostAllowGuest

ps,
uint32_t
guestID,
bool
allow
)

Allow or reject a pending guest. HOST_DESKTOP only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inguestIDid member of ParsecGuest returned by ParsecHostGetGuests.
inallowtrue to allow the guest to connect, false to have them disconnect immediately.

Returns

PARSEC_OK on success or PARSEC_NOT_RUNNING if the host has not been started.

Parsec SDK on GitHubDiscuss on Discord

You are prepared.

Create an account now for free.

Sign Up
Parsec© 2020
Made with ❤️ in NYC