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.

NetworkServerSimple.Listen

public bool Listen(int serverListenPort);
public bool Listen(int serverListenPort, Networking.HostTopology topology);

Parameters

serverListenPort The port to listen on.
topology The transport layer host toplogy to configure with.

Returns

bool True if able to listen.

Description

This starts the server listening for connections on the specified port.