RE-transmission TCP

Soundharya R 0 Reputation points
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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,045 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,993 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,298 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
696 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,757 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jing Zhou 4,670 Reputation points Microsoft Vendor
    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