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.

NetworkConnection.FlushChannels

public void FlushChannels();

Description

This causes the channels of the network connection to flush their data to the transport layer.

This is called automatically by connections used by NetworkServer and NetworkClient, but can be called manually for connections used in other contexts.