Comment on How to implement ping an IP in MacOS Swift? Additionally you can also use a package like SwiftyPing for a more idiomatic Swift implementation. App & System Services Networking Jan ’24