Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkManager.OnServerError

Switch to Manual
public function OnServerError(conn: Networking.NetworkConnection, errorCode: int): void;

Parameters

conn Connection from client.
errorCode Error code.

Description

Called on the server when a network error occurs for a client connection.