Description: This question is a simple chat program, using client/server model, is divided into client and server-side programs. Because the server can only support one client, is actually a point to point communication process. Client and server program through the network to exchange chat with a string content, and the list box displayed in the window.
File list (Check if you may need any files):
CSocketcli\CSocketcli.clw
..........\ReadMe.txt
..........\CSocketcli.dsw
..........\CSocketcli.h
..........\CSocketcli.cpp
..........\CSocketcliDlg.h
..........\CSocketcliDlg.cpp
..........\StdAfx.h
..........\StdAfx.cpp
..........\res
..........\...\CSocketcli.rc2
..........\...\CSocketcli.ico
..........\resource.h
..........\CSocketcli.rc
..........\Debug
..........\.....\CSocketcli.exe
..........\CSocketcli.dsp
CSocketcli
.......\CSocket.clw
.......\ReadMe.txt
.......\CSocket.dsw
.......\CSocket.h
.......\CSocket.cpp
.......\CSocketDlg.h
.......\CSocketDlg.cpp
.......\StdAfx.h
.......\StdAfx.cpp
.......\res
.......\...\CSocket.rc2
.......\...\CSocket.ico
.......\resource.h
.......\CSocket.rc
.......\CSocket.dsp
.......\Debug
.......\.....\CSocket.exe
CSocket