美文网首页
NSPort Class Reference

NSPort Class Reference

作者: 墨日阳光 | 来源:发表于2015-06-22 21:48 被阅读0次

NSPort 用来代表信道
NSPort 需要被添加到NSRunloop中,NSConnect会初始化的时候会创建NSPort

Foundation defines three concrete subclasses of NSPort
. NSMachPort
and NSMessagePort
allow local (on the same machine) communication only. NSSocketPort
allows for both local and remote communication, but may be more expensive than the others for the local case.

相关文章

网友评论

      本文标题:NSPort Class Reference

      本文链接:https://www.haomeiwen.com/subject/utasqttx.html