chacham15
chacham15

Reputation: 14251

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

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 possible 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?

Upvotes: 0

Views: 155

Answers (1)

MSalters
MSalters

Reputation: 179779

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?

Upvotes: 1

Related Questions