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

Script language

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

NetworkServerSimple.OnConnectError

public void OnConnectError(int connectionId, byte error);

Parameters

connectionId The id of the connection with the error.
error The error code.

Description

A virtual function that is invoked when there is a connection error.