NSPort Class Reference

2015-06-22  本文已影响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.

上一篇 下一篇

猜你喜欢

热点阅读