ParsecClientSendMessage

ps,
msg
)

Send an input message to the remote 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.