Parsec

ParsecHostGetGuests

uint32_tParsecHostGetGuests(Parsec *
ps,
uint32_t
state,
ParsecGuest **
guests
)

Get a list of all connected and/or waiting guests.

The return value guests is dynamically allocated and must be passed to ParsecFree after use.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
instateGuest connection lifecycle state. Bitwise or of GUEST_CONNECTED and/or GUEST_WAITING.
outguestsPointer to an array of guests. May be NULL to query the number of guests but not set the array.

Returns

The length of the array returned in guests.