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.
我在书中找不到任何有关制作 tcp/ip 数据包记录器的信息。有人可以指出我正确的方向,或者参考书籍会有所帮助。
如果您只需要一个程序来记录 tcp 数据包,请查看 Wireshark。如果您真的想编写自己的记录器,可以使用libpcap库。它是用 C 语言实现的,网站上有很多教程/示例。如果你在 Windows 中工作,你应该看看WinPcap。这是 libpcap 的一个很好的简单教程。