vs2013:报错 无法打开包含文件 "winsock2.h" 的一种解决办法

解决方法如下:

http://stackoverflow.com/questions/21029654/error-c1083-cannot-open-include-file-winsock2-h-no-such-file-or-directory: 

An alternative is to try this: - Open the Project properties - Goto Configuration Properties -> General - Set the Platform Toolset to v120_xp (Visual Studio 2013 - Windows XP) - Recompile 

(打开项目属性-配置属性-常规-平台工具集-‘选择xp那一项’-重新编译)

转载地址:http://blog.csdn.net/TVXQ_xy/article/details/50347901

你可能感兴趣的:(C++)