windows - Visual Studio 2010 error linking Winsock library (C) -


i'm trying build c server program, , keep getting these errors: http://i.imgur.com/cavkpaf.png

the common fix i'm seeing link ws2_32.lib, i'm doing already(properties > linker > input > additional dependencies). i've included winsock2.h. have windows sdk, , no errors saying can't find ws2_32.lib. i've tried linking directly .lib in windows sdk directory, still have same problem. dll in correct place (c:\windows\syswow64), , syswow64 directory listed in configuration properties > vc++ directories > executable directories.

i have same problem visual studio 2013

any ideas? thanks.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -