This version of Unity is unsupported.
Method group is Obsolete

NetworkConnection.hostId

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

Description

Transport level host ID for this connection.

This is assigned by the transport layer and passed to the connection instance through the Initialize function.