Winsock group chat and private chat room version 2.1 based on MFC
4.0
Application background Unlike twice before uploading the Winsock chat rooms, this version of the chat room have group chat and private chat features, interface and Tencent QQ chat room interface is similar, but did not add interface background and font color, the later version of the 2.2 will give background picture fills and fonts, and other functions. Hope that the code can further deepen your use of TCP socket and MFC class. Key Technology The chat room is based on the TCP socket connection, with landing, image controls and group chat private chat feature. In the landing area, through the IP address, landing name and image choice landing, then the login information (IP address, login name and image sequence) is sent to the servers and other have landed members. Through using the method of ParkserPkt in server to analyze the received information, header information added identifier 0x11,0x51,0x21 (can be assumes) respectively for the first time