摘要:
1 #include 2 #include 3 #include 4 5 #pragma comment(lib, "Ws2_32") 6 7 #define WM_SOCKET WM_USER+1 8 9 LRESULT CALLBACK WinProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) 10 { 11 switch (uMsg) 12 { 13 case WM_SOCKET: 14 { 15 if (WSAGETSELECTE... 阅读全文