LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

NetworkServerSimple.Configure

public bool Configure(Networking.ConnectionConfig config, int maxConnections);
public bool Configure(Networking.HostTopology topology);

Parameters

configThe transport layer configuration to use.
maxConnectionsMaximum number of network connections to allow.
topologyThe transport layer host topology to use.

Returns

bool True if configured.

Description

This configures the network transport layer of the server.