RE-transmission TCP

Anonymous
2024-06-10T16:31:30.3566667+00:00

I am using python socket programming to establish tcp/ip connection via ethernet cable. Via my program I am sending the packet and receiver should acks the packet within 10ms. The logging is done via wireshark. To check if my ack timeout works fine or not i want to make fail case to reduce ack timeout in my sender pc to 1ms so that retransmission occurs how to make this to work in windows? Because in windows how to set the retransmission and ack timeout?

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jing Zhou 7,765 Reputation points Microsoft External Staff
    2024-06-13T09:49:55.7833333+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    To modify the retransmission limit, please kindly follow below steps:

    1.Run "Win + R", input regedit and hit Enter to open the registry editor

    2.Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.

    3.Modify the value of InitialRttData as 10. (10000=1 second)

    4.Restart the system and check if it works.

     

    Best regards,

    Jill Zhou

     

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.