Hi all,
I have a DLL wich connects to a server through a single socket. I am facing the following problem : If server's IP address & port are false or server is down, the application using this DLL freezes until half a minute. My idea is to use non-blocking sockets to avoid that problem, by showing a window indicating connection progress, and also allowing to cancel this process. But how could I use WSAAsyncSelect function as I have no window handler ?