This version of Unity is unsupported.
Method group is Obsolete

NetworkConnection.SendBytes

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

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

Parameters

bytes The array of data to be sent.
numBytes The number of bytes in the array to be sent.
channelId The transport channel to send on.

Returns

bool Success if data was sent.

Description

This sends an array of bytes on the connection.