winsock2.h header file does not exsist

Dec 30, 2015 at 6:57am
So iv learned how to quite a bit in visual studio so i thought it might be time to do a very basic project that can do something with the internet but i ran into a problem instantly apparently I dont have winsock2.h which im sure you all know is required for this sort of thing. I looked in the external dependencies folder and winsock.h is in there but winsock2.h is not there, so where can i download it? and how do i get it back into visual studio thanks!
Dec 30, 2015 at 7:17am
closed account (E0p9LyTq)
Is the WinSock2 lib file added to your link list?

https://msdn.microsoft.com/en-us/library/windows/desktop/ms737629%28v=vs.85%29.aspx

Dec 30, 2015 at 9:02am
I don't think so what do you mean by link list
Dec 30, 2015 at 9:34am
What version of Visual Studio do you use?
It comes with my VS 2010 Express and Vs2013 Community.
Dec 30, 2015 at 9:14pm
closed account (E0p9LyTq)
It comes with my VS 2010 Express and Vs2013 Community.

As well as VS 2015 Community. I have a number of different sized header files, depending on which SDK I use. WinPhone 8.1, Win 7, Win 10, etc.

I don't think so what do you mean by link list

Look at the link I provided.
Dec 30, 2015 at 9:37pm
Dec 30, 2015 at 10:32pm
^ yes that my guess thank you for the link im downloading SDK now and btw everyone im using Visual Studio community 2013
Dec 31, 2015 at 12:37am
closed account (E0p9LyTq)
There is also the Windows 10 SDK. I don't know if it requires VS 2015, but VS 2015 Community is free.

https://dev.windows.com/en-US/downloads/windows-10-sdk
Topic archived. No new replies allowed.