http://www.vbip.com/winsock-api/default.asp
This site really helped me understand how the whole TCP/IP, sending and receiving packets and all worked. I Hope this will be a help to any beginners to Visual Basic 6 who want to make a Battle.net bot.
Blux
The CSocket class is a good class, too.