Swift how to ping a server?

Hi guys.


This might be a dumb question but I am going to ask it anyways.


I just started learning swift and have a ways to go. I have been looking to see if there is a simple ping command in swift on a mac app?


I have been looking but can not seem to find information about this. For exaple, pinging gooogle


Thank you in advance and sorry ifthis is a dumb question.

Hey did you find anything, I have similar requirement

I have similar requirement

I responded on the thread you created for this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Swift how to ping a server?
 
 
Q