This version of Unity is unsupported.
Method group is Obsolete

NetworkConnection.Send

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

Declaration

public bool Send(short msgType, MessageBase msg);

Parameters

msgType The ID of the message to send.
msg The message to send.

Returns

bool True if the message was sent.

Description

This sends a network message with a message ID on the connection. This message is sent on channel zero, which by default is the reliable channel.