Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在一台服务器上捕获ip包,然后通过libnet将包转发到另一台服务器,谁有一些例子?提前致谢。
查看这些教程:
使用 pcap 编程
Libnet 1.1 初学者教程
如果您有不工作的代码片段,请包括。
编辑
第二个链接不再有效。下面是一个不同的链接,可能会有所帮助。通常,不应列出链接,因为它们已过期或过时。搜索“初学者的 libnet 教程”或“初学者的 pcap 教程”将是一个好的开始。
Libnet 初学者教程