http://blog.csdn.net/sanqi322/article/details/6915619 重复定义问题, 将#include <windows.h>放在#include<winsock2.h>之后即可