Does libuv really need the functions that have not migrated to WS2_32 that are still in mswsock.h?
I ran into a situation trying to use lubuv in and application that had another library in it that uses trick #12 mentioned here: http://sockets.com/mswsock.htm It took days to figure out how line 3 of this code in some other library serves as a poison pill breaking all code using libuv and showing errors on lines that are displayed as disabled in win.h in netcommon.h we have the following code : ( from live555) ... 1> /* Windows */ 2> #if defined(WINNT) || defined(_WINNT) || defined(__BORLANDC__) || defined(__MINGW32__) || defined(_WIN32_WCE) || defined (_MSC_VER) 3> #define _MSWSOCK_ 4> #include <winsock2.h> 5> #include <ws2tcpip.h> 6> #endif 7> #include <windows.h> ( I have been an SE for {undisclosed} years and have never found a single proper solution to the windows windows.h/winsock2.h thiasco ) -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
