IEnumerator Start() { for (int i = 0; i < 4; i++) { var ping = new Ping("203.66.124.231"); while (!ping.isDone) { yield return null; } Debug.Log(ping.time); } }