Class: Client
Lua
C++
Edit

Client::Send

This method sends a message from the client to the server.

Syntax

Parameter Description
id user-defined message ID
data string or binary data to send, or NULL if the message only consists of the ID
channel optional channel to send in, for ordered messages
flags optional message flags, can be MESSAGE_DEFAULT or any combination of MESSAGE_SEQUENCED, MESSAGE_RELIABLE, and MESSAGE_BUFFERED.

Returns

Returns true of the message is successfully send, otherwise false is returned.

Copyright © 2024 Ultra Software.
All rights reserved.