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.
在不使用第三方工具的情况下,我如何在 ANSI C 中制作 TCP(甚至是 UDP)数据包?我希望能够设置所有选项标志、源 IP 地址等。所以完全控制。在网上没有找到任何关于它的好文字。或者我只是使用了错误的搜索条件。
当我开始自己编写原始套接字时,我发现Beej 的网络编程指南与 Stevens 的“TCP/IP 插图”系列丛书一样有价值。