Skip to content

Perform runtime check to determine whether to call XP or Vista network address APIs. #18

@trygve-isaacson

Description

@trygve-isaacson

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.

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions