Version: 2018.2

NetworkServerSimple.RemoveConnectionAtIndex

Switch to Manual
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.