Version: 2017.1

NetworkClient.ConnectWithSimulator

Switch to Manual
public void ConnectWithSimulator (string serverIp, int serverPort, int latency, float packetLoss);

Parameters

serverIp Target IP address or hostname.
serverPort Target port number.
latency Simulated latency in milliseconds.
packetLoss Simulated packet loss percentage.

Description

Connect client to a NetworkServer instance with simulated latency and packet loss.