C++ socket开发1
摘要:
服务端setlocale(LC_ALL,"Chinese-simplified");WORD wVersionRequested;WSADATA wsaData;int err;wVersionRequested = MAKEWORD(1,1);err = WSAStartup(wVersionRequested,&wsaData);if(err !=0 ){return;}if(LOBYTE(wsaData.wVersion)!=1 || HIBYTE(wsaData.wVersion) !=1){WSACleanup();return;}SOCKET sockS 阅读全文
posted @ 2013-10-12 08:20 松原蔡晓冬 阅读(165) 评论(0) 推荐(0) 编辑