ParsecHostAllowGuest

ps,
char *
attemptID,
bool
allow
)

Allow or reject a pending guest. HOST_DESKTOP only.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inattemptIDUnique connection ID found in ParsecGuest struct obtained via 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
Made with ❤️ in NYC
Join us on Discord