EDN Admin
Well-known member
Dear all,<br/><br/>Please explain me: "Why does the program create a new thread affter calling the WSAAsyncSelect function?"<br/><br/>First, the program has a thread.<br/>After the code section:<br/><br/>#define WM_SOCKET WM_USER + 1<br/><br/>WSAAsyncSelect(s, hWnd, WM_SOCKET, FD_ACCEPT | FD_READ | FD_WRITE | FD_CLOSE);<br/><br/>Now, the program has two threads.<br/><br/>What does the new thread???<br/><br/>Thanks and Regards<br/>Johan<br/><br/>
View the full article
View the full article