Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkServerSimple.SetConnectionAtIndex

Obsolete public bool SetConnectionAtIndex(NetworkConnection conn);

Parameters

connA new connection object.

Returns

bool True if added.

Description

This adds a connection created by external code to the server's list of connections, at the connection's connectionId index.

Connections are usually added automatically, this is a low-level function for the rare special case of externally created connections.

Did you find this page useful? Please give it a rating: