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

NetworkServerSimple.RemoveConnectionAtIndex

public bool RemoveConnectionAtIndex(int connectionId);

Parameters

connectionIdThe 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: