Winsock - Asynchrnonous Server problems
I'm messing around with asynchronous sockets, and I'd like to make a simple echo server. I have it setup all fine and people can connect and stuff, but when any client sends data to my server, I want the server to send back to every connected user, including the one that originally sent the data. I'm having a little trouble keeping track of clients and such with this problem. Has anyone ever made an asynchronous socket? I don't think I need to do multi-threading to solve this (I thought the idea of asynchronous was to eliminate multi-threaded socket stuff). Does anyone have an idea of how to set this up? Thanks.