Multiclient-Capable Server

For a simple console chat in C++ with Winsock 2, how do I enable multiple connections on one server. I think I'd make a SOCKET array (SOCKET* Conections;), but is this even possible? And also, I want the server to display all activity within each client (nickname, message, etc.), and would like to have the server console window constantly updated so I can see everything at the same time like every client connected to the server.

My original plan is to check each attempting-to-connect client to see if it's compatible with he server, then if it is, connect to it and store the user's nick, IP, etc.

Is this all logical?
No one can help?
Hi,

Learn Multi-Threading in Windows API. That's the only comment I will give as this again can be answered on Internet easily.

Thanks
Topic archived. No new replies allowed.