This version of Unity is unsupported.
Method group is Obsolete

NetworkTransport.GetAckBufferCount

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

Declaration

public static int GetAckBufferCount(int hostId, int connectionId, 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).

Returns

int Size of ack buffer.

Description

Returns size of reliable buffer.

If occupied size == 32 (def) or 64 (if isAckLong == true) no new reliable message can be sent.