Description: Achieve sockTCP chat ~ ~! ! In Internet chat rooms on the procedure is generally based on the server side connection in response to the provision of services, the user through the client program to log on to the server, you can log in the same server with the user to chat, this is a connection-oriented communication process. Therefore, procedures to TCP/IP environment, the realization of server-side and client procedures in two parts.
To Search:
File list (Check if you may need any files):
网络聊天:WINSOCK-TCP
.....................\ChatClient
.....................\..........\ChatClient.aps
.....................\..........\ChatClient.clw
.....................\..........\ChatClient.cpp
.....................\..........\ChatClient.dsp
.....................\..........\ChatClient.dsw
.....................\..........\ChatClient.h
.....................\..........\ChatClient.ncb
.....................\..........\ChatClient.opt
.....................\..........\ChatClient.plg
.....................\..........\ChatClient.rc
.....................\..........\ChatClientDlg.cpp
.....................\..........\ChatClientDlg.h
.....................\..........\ChatSocket.cpp
.....................\..........\ChatSocket.h
.....................\..........\ReadMe.txt
.....................\..........\Release
.....................\..........\res
.....................\..........\...\ChatClient.rc2
.....................\..........\resource.h
.....................\..........\SetupDlg.cpp
.....................\..........\SetupDlg.h
.....................\..........\StdAfx.cpp
.....................\..........\StdAfx.h
.....................\ChatClient.exe
.....................\ChatSvr
.....................\.......\ChatSvr.aps
.....................\.......\ChatSvr.clw
.....................\.......\ChatSvr.cpp
.....................\.......\ChatSvr.dsp
.....................\.......\ChatSvr.dsw
.....................\.......\ChatSvr.h
.....................\.......\ChatSvr.ncb
.....................\.......\ChatSvr.opt
.....................\.......\ChatSvr.plg
.....................\.......\ChatSvr.rc
.....................\.......\ChatSvrDlg.cpp
.....................\.......\ChatSvrDlg.h
.....................\.......\ClientSocket.cpp
.....................\.......\ClientSocket.h
.....................\.......\InitDlg.cpp
.....................\.......\InitDlg.h
.....................\.......\ListeningSocket.cpp
.....................\.......\ListeningSocket.h
.....................\.......\ReadMe.txt
.....................\.......\Release
.....................\.......\res
.....................\.......\...\ChatSvr.rc2
.....................\.......\resource.h
.....................\.......\StdAfx.cpp
.....................\.......\StdAfx.h
.....................\ChatSvr.exe