int err;int p;WORD wVer;WSADATA wsaData;wVer=MAKEWORD(1,1); err=WSAStartup(wVer,&wsaData);//判断Windows sockets dll版本if(err!=0) return(0);