I have an small server/client test program I am running over a radio link using TCP/IP and I noticed with wireshark that I am getting a lot of retransmits due to high latency. How do I increase the window my program waits for an ACK before attempting retransmission?
Update on OS:
The server is running Linux, the Client is on Windows
In Linux, you can try playing with the
TCP_WINDOW_CLAMPand the other options from http://lxr.linux.no/linux+v2.6.30/include/linux/tcp.h#L85 . They can be set by usingsetsockopt(man 3 setsockopt), I think.