Solutions to errors in Windows computer network applications

Source: Internet
Author: User
Tags get ip
Netsh is a powerful network configuration command-line tool that starts with Windows XP SP2. is a command line to operate almost all network-related settings of the interface, such as setting Ip,dns, network card, wireless network.

Winsock is a Windows network programming interface, Winsock works at the application layer, which provides a high-level data transfer programming interface unrelated to the underlying transport protocol. Reset is the reset operation on the Winsock. After you perform the Winsock command to restart your computer, you will need to reconfigure network configuration information such as IP.

Netsh winsock reset is to restore it to the default state. The role is to reset the Winsock directory. If there is a problem with the Winsock protocol configuration on one machine, it will cause problems such as network connectivity, and can be reset by using the Netsh winsock reset command to try to restore the Winsock directory. This command can reinitialize the network environment to resolve the problem of parameter errors due to software conflicts and virus causes. For example, the computer suddenly appeared successfully connected to the network but not the Internet, Network restricted, open Web page display problem, unable to automatically get IP address or specified IP address is still no packet transmission, use the Bluetooth adapter transmission file prompts "use of incompatible with the requested protocol address" and so on network protocol application related fault.

Operation steps:

To reset Winsock for Windows XP, follow these steps:

1. Click "Start" and enter CMD in the running;

2. Then enter the command netsh winsock reset;

3. Restart the computer.

To reset Winsock for Windows Vista or Windows 7, follow these steps:

1. Click Start, type cmd in the Start search box, right-click "Cmd.exe", and click "Run as Administrator";

2. Type "netsh winsock reset" at the command prompt, and then press Enter;

3. Restart the computer.

To reset Winsock for Windows 8, follow these steps:

1. Press the Windows key and X key to select command Prompt (admin);

2. Type "netsh winsock reset" at the command prompt, and then press Enter;

3. Restart the computer.

Operation Complete Diagram:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.