The Windows registry has a key TcpAckFrequency (default 2), which sets the number of TCP packets received before sending back an ACK packet. Also, there is a TcpDelAckTicks key defining the delay (default 2 i.e. 2 * 100 ms = 200 ms) after which an acknowledgment is sent anyway, even if TcpAckFrequency is not reached.
Is there any way to change (temporarily) these parameters using WinSock API or other APIs, but without modifying the registry?
Thank you very much in advance.