Can some one tell me how you would use WSAAsyncSelect with FD_ACCEPT?
Would it look like this? :
WINAPI wndProc(WORD wMsg, WPARAM wParam, LPARAM lParam)
g_sMySocket = accept(g_sMyPreviousSocket...);
or should the accept call be made outside of the switch statement after the WSAAsyncSelect() call?
I've never seen this used like this, which is why I'm asking.