This version of Unity is unsupported.
Method group is Obsolete

NetworkServerSimple.Listen

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public bool Listen(int serverListenPort);
Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public bool Listen(int serverListenPort, 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.