Original Post
In order to unleash all the power of iocp, I should post more than one WSARecv on my iocp, so while one thread is processing a input, another one can gather more input from the same client, is that right. I am thinking in a hypothetical high performance mmog server, so, I want to program like if high performance and efficiency was a must for my server. No the easier thing, but the faster and most efficient thing, you know? I have two Great doubts: To be able to put in order my multi WSARevcs ,my server must to have one CRITICAL_SECTION per socket(i.e per client), so I can guaranty the ints representing the relative order of the buffers worth something, and be able to reorder my incoming buffers according to those ints. One CRITICAL_SECTION per client just for ordering WSARecvs seams to me a lot of CRITICAL_SECTIONS, in a hypothetical hundreds,or even thousands, clients universe. If a player has a lot of bandwidth, he may be able to slow down the server by locking my workers with his inputs?