سؤال

I'm using MinGW on Win 7. I'm triyng to compile C++ code using WsaIoctl. However, I got the error

undefined reference to `WsaIoctl'

I use -lwldap32 -lws2_32 -lwsock32 -lmswsock flags.

Thanks for advice, Slava

هل كانت مفيدة؟

المحلول

There's no win32 function called WsaIoctl. You need WSAIoctl

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top