摘要: 服务器端源代码(UDPServ.cpp): 1 #pragma comment(lib, "Ws2_32.lib") 2 3 #include <winsock2.h> 4 #include <ws2tcpip.h> 5 #include <stdio.h> 6 #include <windows.h> 7 8 9 int _tmain(int argc, _TCHAR* argv[])10 {11 WORD wVersionRequested;12 WSADATA wsaData;13 int err;14 15 wVers 阅读全文
posted @ 2012-11-06 19:36 china_victory 阅读(7633) 评论(0) 推荐(0) 编辑
摘要: 服务器端源代码(UDPServ.cpp): 1 #pragma comment(lib, "Ws2_32.lib") 2 3 #include <winsock2.h> 4 #include <ws2tcpip.h> 5 #include <stdio.h> 6 #include <windows.h> 7 8 9 int _tmain(int argc, _TCHAR* argv[])10 {11 WORD wVersionRequested;12 WSADATA wsaData;13 int err;14 15 wVers 阅读全文
posted @ 2012-11-06 19:33 china_victory 阅读(413) 评论(0) 推荐(0) 编辑