I recently downloaded the VC++ 2005 Beta 2 from MS. I haden't worked with it before, so this morning I set out to create a simple network app to check if my server is up and accessible from the outside world. (And yes, I'll give it to a friend, where he'll set it up as a scheduled task.) I could have finished it by now in VS.NET 2003, but it appears that sockets are somewhat different in 2005. I'm unable to find the proper header/library to use. Winsock as a direct library doesn't appear to exist anymore and I couldn't seem to find a non-.NET way of doing it.
Do you know how to create a socket in 2005? All it has to do is check if it can connect to a certain server on port 80, if that makes a difference.

(but if you happen to know how to use the .NET version, I might have to.)
I'm stubborn, so don't even suggest I just use 2003.
