'Ang on! Didn't you start a thread recently regarding issues with a basic program? And didn't you say you only started not too long ago? If so, then socket programming is only going to confuse you. I recommend learning C++ more before starting.
If you insist on acquiring resources on Windows Sockets, then read this: http://www.sockets.com/winsock.htm