ParsecClientSendMessage

ps,
msg
)

Send an input message to the host.

This function sends one of the input types defined in ParsecMessageType set in the type member of the ParsecMessage msg parameter. The indicated message type is then filled out in the appropriate Message struct in msg.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
inmsgGeneric input message than can represet any message type.

Returns

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

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