Always call res_init() before getaddrinfo().
[tinc] / src / mingw /
drwxr-xr-x   ..
-rw-r--r-- 3179 common.h
-rw-r--r-- 6751 device.c