Description: 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
File list (Check if you may need any files):
TCPChatRoom\ChatRoomClient\ChatRoomClient.aps
...........\..............\ChatRoomClient.cpp
...........\..............\ChatRoomClient.h
...........\..............\ChatRoomClient.rc
...........\..............\ChatRoomClient.sln
...........\..............\ChatRoomClient.suo
...........\..............\ChatRoomClient.vcproj
...........\..............\ChatRoomClientDlg.cpp
...........\..............\ChatRoomClientDlg.h
...........\..............\ReadMe.txt
...........\..............\res\ChatRoomClient.ico
...........\..............\...\ChatRoomClient.manifest
...........\..............\...\ChatRoomClient.rc2
...........\..............\Resource.h
...........\..............\stdafx.cpp
...........\..............\stdafx.h
...........\........Demo\ChatRoomDemo.aps
...........\............\ChatRoomDemo.cpp
...........\............\ChatRoomDemo.h
...........\............\ChatRoomDemo.rc
...........\............\ChatRoomDemo.sln
...........\............\ChatRoomDemo.suo
...........\............\ChatRoomDemo.vcproj
...........\............\ChatRoomDemoDlg.cpp
...........\............\ChatRoomDemoDlg.h
...........\............\ReadMe.txt
...........\............\res\ChatRoomDemo.ico
...........\............\...\ChatRoomDemo.rc2
...........\............\Resource.h
...........\............\stdafx.cpp
...........\............\stdafx.h
...........\........Client\Debug
...........\..............\res
...........\........Demo\Debug
...........\............\res
...........\ChatRoomClient
...........\ChatRoomDemo
TCPChatRoom