ecore: add FD_CLOSE, FD_ACCEPT and FD_CONNECT for sockets on Windows.
authorGuillaume Friloux <guillaume.friloux@gmail.com>
Fri, 30 Jan 2015 13:18:37 +0000 (14:18 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 11 Feb 2015 16:03:38 +0000 (17:03 +0100)
src/lib/ecore/ecore_main.c

index 98e56ff..1ae5653 100644 (file)
@@ -2173,6 +2173,8 @@ _ecore_main_win32_select(int             nfds EINA_UNUSED,
                network_event |= FD_OOB;
           }
 
+        network_event |= FD_CLOSE | FD_CONNECT | FD_ACCEPT;
+
         if (network_event)
           {
              event = WSACreateEvent();