Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkServerSimple.RemoveConnectionAtIndex

public bool RemoveConnectionAtIndex(int connectionId);

Parameters

connectionId The id of the connection to remove.

Returns

bool True if removed.

Description

This removes a connection object from the server's list of connections.

This is a low-level function that should not be used for regular connections. It is only safe to remove connections added with SetConnectionAtIndex() using this function.

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