ParsecHostSendUserData

ps,
uint32_t
guestID,
uint32_t
id,
char *
text
)

Send a user-defined message to a guest.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inguestIDid member of ParsecGuest returned by ParsecHostGetGuests.
inidUser-defined message ID considered by the client.
intextNull-terminated UTF-8 string.

Returns

PARSEC_OK if the message was successfully sent, otherwise a ParsecStatus error value.