Introduction - If you have any usage issues, please Google them yourself
TCP-based chat room. WSAAsyncSelect message mode using non-blocking. Service ChatRoomServer.exe first start after the boot server, the server-side information from the client listen, when a client connection, the server-side accpet to establish connection with the client to trigger a message function OnServerAccept. OnServerAccept reuse WSAAsyncSelect recv function to judge and accept the client sent information and broadcasting, in order to achieve the effect of chat rooms