Interesting. Ill take a whack at it when i get home. Also i may have found a proper way to handle an array of client sockets from the gamedev article:
I also wouldnt mind seeing examples of other methods, such as select(), asyncronous sockets, etc., because finding a simple example on the web is tough. The code is either too complex, unreadable, or broken up into so many separate files and classes that its hard to see how it works. I understand networking is a beast, but it doesnt need to be impossible to learn.
SOCKET local_socket = *( (SOCKET *)&Parameter ); //someone will criticize my weird casting LOL
SOCKET local_socket = *(reinterpret_cast<SOCKET *>(&Parameter));