Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6070089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:53:38+00:00 2026-05-23T09:53:38+00:00

In the command prompt I could use: netsh int tcp set global congestionprovider=ctcp I’m

  • 0

In the command prompt I could use:

netsh int tcp set global congestionprovider=ctcp

I’m wondering if there is a way I could accomplish the same thing programically in C/C++ without using system().

I’m assuming i’m probably going to have to use COM?

EDIT: Also information about how I could access other information that I would normally access through netsh in C/C++, would be nice 🙂 (Example: netsh int tcp show global)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:53:39+00:00Added an answer on May 23, 2026 at 9:53 am

    Reading between the lines, this might be achievable using a manual registry modification in the same way described for the Windows XP/Windows Server 2003 backport of CTCP. Hypothetically, you would have to set the given value to 1 using RegSetValueEx and inspect it using RegQueryValueEx to see what is the state at this time.

    When you apply this hotfix, the following registry subkey is created: 
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    The properties of this subkey are as follows: 
    Name: TCPCongestionControl
    Type: REG_DWORD
    Value: 1
    When the value is set to 1, CTCP support is enabled. When the value is set to 0, CTCP support is disabled.
    

    Whether this works for you at all, or without a reboot or not depends on 1) whether the appropriate component auto-detects registry mods and 2) whether that’s all there is to it on the newer OSes. Does not seem like this would be too hard to try out, though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't use the command certreq in window command prompt, could someone advise how
I use the VS2008 command prompt for builds, TFS access etc. and the cygwin
When the command prompt opens and then just closes really fast (because there isn't
In command prompt of mysql 5.1 I am not able to use Date function.It
I am not allowed to use command prompt, unfortunately. Currently I use SQL Server
I 'm wondering of any mechanism that one could use to change the directory
for e.g from command prompt I need to launch the exe with some switch
In a command prompt I am able to get the domain logon server by
while(1){ //Command prompt char *command; printf(%s>,current_working_directory); scanf(%s,command);<--seg faults after input has been received. printf(\ncommand:%s\n,command);
At shell command prompt (backup and restore db): mysqldump -uusername -ppassword --host=127.0.0.1 --port=3306 --routines

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.