reactos/lib/msafd/misc
diff -u -r1.30 -r1.31
--- dllmain.c 26 Dec 2004 14:55:51 -0000 1.30
+++ dllmain.c 26 Dec 2004 15:04:33 -0000 1.31
@@ -1755,6 +1755,18 @@
Socket->SharedData.AsyncDisabledEvents |= FD_WRITE;
}
break;
+
+ case AFD_EVENT_CONNECT:
+ if (0 != (Socket->SharedData.AsyncEvents & FD_CONNECT) && 0 == (Socket->SharedData.AsyncDisabledEvents & FD_CONNECT)) {
+ /* Make the Notifcation */
+ (Upcalls.lpWPUPostMessage)(Socket->SharedData.hWnd,
+ Socket->SharedData.wMsg,
+ Socket->Handle,
+ WSAMAKESELECTREPLY(FD_CONNECT, 0));
+ /* Disable this event forever; */
+ Socket->SharedData.AsyncDisabledEvents |= FD_CONNECT;
+ }
+ break;
case AFD_EVENT_ACCEPT:
if (0 != (Socket->SharedData.AsyncEvents & FD_ACCEPT) && 0 == (Socket->SharedData.AsyncDisabledEvents & FD_ACCEPT)) {