Original Post
Hey guys, here's an easy one for you! [smile] I don't know a whole lot about Windows messages, so I need your help... Here's what's currently in my game:
WSAAsyncSelect (srvr_socket, hDlg, WM_SOCKET, (FD_CLOSE | FD_CONNECT | FD_READ)); This lets me monitor the socket 'srvr_socket' through the Windows message 'WM_SOCKET', which is defined as WM_SOCKET = WM_USER + 1. Now, here's my question... What if I have three sockets I wish to monitor; for example, srvr_socket, client_socket and chat_socket? How do I monitor those three sockets using Windows message system? Thanks in advance for the help!