Setting up asynchronous winsocks
Hello, I have a question about the order of the winsocket setup for an async winsocket server model because I have seen 2 methods for that:
- one is to create the winsock, fill the sockaddr_in structure, bind the winsock and call the WSAAsyncSelect(),
- and the other is to create the winsock, call the WSAAsyncSelect(), fill the sockaddr_in structure and finally bind the socket.
Is there any difference in both methods? Or, is there a wrong setup order?
Thank's in advance.