开发者

Is there any way I can mess with the TCP stack in Windows?

开发者 https://www.devze.com 2023-02-15 01:12 出处:网络
I want to send a TCP ack packet a certain number of bytes ahead of the data that I have actually recieved in order to \"resume\" a download. I would also need to change the state of the TCP stack to b

I want to send a TCP ack packet a certain number of bytes ahead of the data that I have actually recieved in order to "resume" a download. I would also need to change the state of the TCP stack to be in synch with this ack.

One p开发者_开发问答ossible solution to doing this would be to gain direct control over lower level interfaces and transmit my own TCP packets using my own stack, however, this would be an inferior solution to using the windows TCP stack. Does anyone know how I can affect the windows tcp stack to do this?


Eh, that sounds like a recipe for connection failures. What happens if that ACK arrives at the sender before it sends the bytes that you're ACK-ing?

0

精彩评论

暂无评论...
验证码 换一张
取 消