winsock message constants

This is a discussion on winsock message constants within the Windows Programming forums, part of the Platform Specific Boards category; heylo
well i've got winsock working, but i cant find the constants for when winsock is receiving data or theres ...

well that's them. FD_READ tells you there's something to be read. etc... But I believe you have to be on an "asynchronous" socket to get them. WSAAsyncSelect will assign an asynchronous socket to a window.

no, WSAAsyncSelect just takes a socket, assigns a window to it, assignes a series of FD_* messages to handle and makes it so that your socket sends those messages to a given window. Your callback for the window will do the work.