从机器读取 ARP 缓存
我正在开发一个从机器读取 arp 缓存的程序。我用的是可可。有一个名为 libdnet (libdnet.sourceforge.net) 的库,它具有 arp 读取功能。但我不知道如何编写代码来使用该功能。请帮忙。
I'm working on a program that read arp cache from machine. I'm using Cocoa. There's a library called libdnet (libdnet.sourceforge.net) which has arp reading function. But I don't know how to write a code to use that function. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要了解 C 语言并应用这些知识来调用库的函数。请参阅此问题,获取 C 语言学习资源的链接。
Objective-C 是 C 的超集,因此一旦您了解这两种语言,您就可以将 C 代码集成到您的 Objective-C 方法中来调用这些函数。
You'll need to know C and apply that knowledge to call the library's functions. See this question for links to C-learning resources.
Objective-C is a superset of C, so you'll be able to integrate the C code to call those functions into your Objective-C methods just fine once you know both languages.