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 套接字还是 RAW 套接字并重新实现 TCP 握手。
您所描述的是操作系统的 TCP 堆栈的内部结构。Python 只是通过套接字接口使用这个堆栈。我怀疑这些设置中的任何一个都可以针对应用程序进行更改,即这些是系统范围的设置,只能使用管理员权限进行更改。