This version of Unity is unsupported.
Method group is Obsolete

NetworkConnection.SendByChannel

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

Declaration

public bool SendByChannel(short msgType, MessageBase msg, int channelId);

Parameters

msgType The message ID to send.
msg The message to send.
channelId The transport layer channel to send on.

Returns

bool True if the message was sent.

Description

This sends a network message on the connection using a specific transport layer channel.