Legacy Documentation: Version 5.1
LanguageEnglish
  • 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

topology Topology.
port Port.

Returns

int Return host id.

Description

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