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.
我在地址“127.0.0.0”上监听我自己的绑定套接字,并发送一些流量。套接字是 SOCK_STREAM。我可以使用getsockopt获取传入数据包的序列号和确认号吗?如果你现在,请写下这个函数的参数。在 python 谢谢你:)
我在 addr 上监听我自己的绑定套接字...我可以使用getsockopt 获得传入数据包的序列号和确认号吗?
您不会从普通 TCP 套接字(即由socket.socket(socket.AF_INET, socket.SOCK_STREAM).
socket.socket(socket.AF_INET, socket.SOCK_STREAM)