Go read beej's guide to network programming, it covers sockets (but not so much SOCK_RAW stuff, which is good to begin with). If you can't get the basics out of that (it covers some windows programming as well), then you need to stop. Link here.
I highly recommend you don't start your work on windows. It doesn't follow most of the standards for socket coding (though there is a caveat - you can code most *nix sockets into it just fine with a few macros). Definitely run up a copy of BT or some other Linux (I usually dev on a debian etch box) and go from there.