Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkClient.SendBytes

Obsolete public bool SendBytes(byte[] data, int numBytes, int channelId);

Parameters

dataData to send.
numBytesNumber of bytes of data.
channelIdThe QoS channel to send data on.

Returns

bool True if successfully sent.

Description

This sends the data in an array of bytes to the server that the client is connected to.

The data must be properly formatted.

Did you find this page useful? Please give it a rating: