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

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -