public void InitNetwork() { NetworkSim = NetworkSim.GetInsance().SetNetworkFrameGenerator(this); NetworkSim.Latency = new Random().Next(50, 55);; NetworkSim.Start(); }
public static NetworkSim GetInsance() { return(_instance ?? (_instance = new NetworkSim())); }