随笔分类 - 网络编程-Windows 套接字 I/O 模型
摘要:// Events.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include using namespace std; HANDLE g_Events[2] = {0}; UINT32 _stdcall CallBack(LPVOID lParam); int _tmain(int argc, _...
阅读全文
摘要:// select.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #pragma comment(lib,"ws2_32.lib") int _tmain(int argc, _TCHAR* argv[]) { WORD wVersion = MAKEWORD(2,2); W...
阅读全文