更新时间:2022-06-22 22:48:05
这是这里工作的几个主要概念:
This are a couple main concepts at work here:
NSNetService
和在此处可用.NSNetService
and NSNetServiceBrowser
, which are the two main classes involved in Bonjour networking. You could use another communication setup, but Bonjour will probably be the least painful. A really useful guide to getting started with this is available here.CGEventPost()
is a really useful function for doing this.