Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚注意到,只要网络连接可用, Textual就会巧妙地将我重新连接到我配置的任何 IRC 服务器。
如何向应用程序发出连接已启动并正在运行的信号?我半猜测/半希望客户端不会被迫不断轮询并且能够接收信号/事件。
它是如何完成的?
你可以使用这个SCNetworkReachability类。
SCNetworkReachability