Language: English
  • C#
  • JS

Script language

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

NetworkTransport.AddHost

Switch to Manual
public static function AddHost(topology: Networking.HostTopology, port: int): int;

Parameters

topologyTopology.
portPort.

Returns

int Return host id.

Description

Will create host (open socket) with given topology and port.