Currently in _win/socket.cpp we all the WinSock APIs for address translation that are universally available. As of VC++ 2013 update 3, these APIs are marked deprecated, which causes compiler warnings. Newer favored APIs are not available on XP or earlier. To resolve this, will need to do a runtime check for the availability of the new APIs, and call them with LoadLibrary and GetProcAddress rather than the normal way, so that the application can still launch on XP. This will also allow Unicode characters in host names on Windows.
Currently in _win/socket.cpp we all the WinSock APIs for address translation that are universally available. As of VC++ 2013 update 3, these APIs are marked deprecated, which causes compiler warnings. Newer favored APIs are not available on XP or earlier. To resolve this, will need to do a runtime check for the availability of the new APIs, and call them with LoadLibrary and GetProcAddress rather than the normal way, so that the application can still launch on XP. This will also allow Unicode characters in host names on Windows.