I'm writing a winsock class, and it mostly works, but there are some bugs dealing with memory, and I can't figure out what the problem is. Is anyone willing to look at the code? It's a little long, but pretty self-explanitory.