Skip to content

About

Build a static Windows binary

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

win-getaddrinfo Build status

Test code to investigate the issue nodejs/node#2578 inside a Windows Docker container.

The binary is used to test the AI_ADDRCONFIG hint flag on Windows Server 2016 TP3 as well as running inside a Windows Docker container.

See the MSDN getaddrinfo article for more details.

Test with AI_ADDRCONFIG hint flag

getaddrinfo.exe registry.npmjs.org 80 AI_ADDRCONFIG

Test without AI_ADDRCONFIG hint flag

getaddrinfo.exe registry.npmjs.org 80 0

Build exe with Windows Docker containers

Spin up a Win2016 VM and set DOCKER_HOST environment variable to it. Then run

./build.sh

The final static release binary getaddrinfo.exe will be copied back to your host.

About

Build a static Windows binary

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages