Well, the basic windows networking library is Winsock, which is included in the GCC bundle with Dev-C++ (though it's an old version, as far as I know, not too much has changed). Here's where I learned how to use it:
http://www.madwizard.org/
It's a great site, nice tutorials.
