由于我没有进入(一直与我无法改变的第三方图书馆相容),我需要使用一个TCP袖珍书,在SiOS单一进程中做IPC。
为了防止其他进程与我的太平洋共同体秘书处电话交谈,我要与本组织核实,“<条码>链接(<>条码/代码>(从另一条线上)”程序与我自己的程序相同。
On OS X I noticed that netstat
does not have this information (unlike other OSes such as Windows and Linux) and the only way I was able to determine this information was using lsof
. I am not sure what might be available in the iOS sandbox, but so far it seems like my best bet (even though it seems expensive) is to figure out what lsof
is doing and try to replicate that.
谁知道一个叫我的制度可以用来检查这一情况? 我已经通过<代码>getsockopt(2)读过,看不出适用的任何东西,我可以找到有关<代码>octl(2)电话的文件。
What might be possible here?