netsh winsock
The netsh winsock command manages the Windows Sockets (Winsock) API, which is responsible for network communication between applications and network services. Windows commands reference
On Windows
Windows
netsh winsock [audit | dump | help | remove | reset | set | show | ?]netsh winsock audit trailnetsh winsock dumpnetsh winsock remove provider <catalog id>netsh winsock resetnetsh winsock set autotuning <on|off>netsh winsock show <autotuning> <catalog>
To view the audit trail of LSPs, run the following command
netsh winsock audit trailIdentifyTo remove a specific Winsock LSP using its catalog ID, run the following command
netsh winsock remove provider <catalog_id>IdentifyTo enable Winsock send autotuning for better throughput, run the following command
netsh winsock set autotuning onIdentifyTo display the contents of the Winsock catalog, run the following command
netsh winsock show catalogIdentifywinsock audit trailDisplays the audit trail of Layered Service Providers (LSP) that are installed and uninstalled.winsock dumpCreates a script containing the current Winsock configuration. The script can be saved to a file and used to restore settings if they're altered or need to be replicated on another system.winsock remove provider <catalog id>Removes a specific Winsock LSP from the system using its catalog ID. This ID can be found when you run winsock show catalog. The Namespace Providers are presented as a GUID rather than a catalog ID.winsock resetResets the Winsock catalog to a clean state, removing any custom LSPs to resolve network problems caused by corrupted Winsock settings. It doesn't affect Winsock Name Space Provider entries.winsock set autotuningThis command toggles Winsock send autotuning, which enables dynamic send buffering to improve overall network throughput. Options are on or off.winsock showautotuning - Displays whether Winsock send autotuning is currently enabled or disabled.
catalog - Displays the contents of the Winsock catalog, listing all registered Winsock LSPs and namespace providers.help or ?Displays a list of commands and their descriptions in the current context.