This version of Unity is unsupported.
Method group is Obsolete

NetworkTransport.QueueMessageForSending

Obsolete The UNET transport will be removed in the future as soon a replacement is ready.

Declaration

public static bool QueueMessageForSending(int hostId, int connectionId, int channelId, byte[] buffer, int size, out byte error);

Parameters

hostId Host ID associated with this connection.
connectionId ID of the connection.
error Error (can be cast to NetworkError for more information).
channelId The channel ID to send on.
buffer Buffer containing the data to send.
size Size of the buffer.

Returns

bool True if success.

Description

Function is queueing but not sending messages.