Undefined reference to getaddrinfo

前端 未结 3 515
孤独总比滥情好
孤独总比滥情好 2020-12-06 12:07

I have been getting this error for quite some time now and Google has not been of much help either.

I am a newbie to Winsock programming and trying to learn from onl

3条回答
  •  情话喂你
    2020-12-06 12:37

    WindowsXP was defined in w32api.h, you have to #include before your #define WINVER.

提交回复
热议问题