Introduction - If you have any usage issues, please Google them yourself
QQ chat a similar process, including client and server-side code of integrity, learning network socket programming is a very good example!
Packet : 29782202chat.rar filelist
Common.h
Client\ChatSocket.cpp
Client\ChatSocket.h
Client\Client.aps
Client\Client.clw
Client\Client.cpp
Client\Client.dsw
Client\Client.h
Client\Client.ncb
Client\Client.plg
Client\Client.rc
Client\ClientSocket.cpp
Client\ClientSocket.h
Client\LoginDlg.h
Client\ReadMe.txt
Client\Resource.h
Client\StdAfx.cpp
Client\StdAfx.h
Client\res\Client.ico
Client\res\Client.rc2
Client\res
Client\Release
Client\Debug
Client\Narrator.cpp
Client\Narrator.h
Client\LoginDlg.cpp
Client\ClientDlg.h
Client\ClientDlg.cpp
Client\Client.opt
Client\Client.dsp
Client
Server\DataSocket.cpp
Server\DataSocket.h
Server\ListenSocket.cpp
Server\ListenSocket.h
Server\MainFrm.cpp
Server\MainFrm.h
Server\ReadMe.txt
Server\Resource.h
Server\ServDef.h
Server\ServInfoDlg.h
Server\Server.aps
Server\Server.clw
Server\Server.cpp
Server\Server.dsp
Server\Server.dsw
Server\Server.h
Server\Server.ncb
Server\Server.plg
Server\Server.rc
Server\Server.sln
Server\Server.suo
Server\Server.vcproj
Server\ServerDoc.cpp
Server\ServerDoc.h
Server\ServerView.cpp
Server\ServerView.h
Server\StdAfx.cpp
Server\StdAfx.h
Server\res\Server.ico
Server\res\Server.rc2
Server\res\ServerDoc.ico
Server\res
Server\Release
Server\Debug
Server\Server.exe
Server\ServInfoDlg.cpp
Server\Server.opt
Server