========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : client
========================================================================
AppWizard has created this client application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your client application.
client.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
client.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CClientApp application class.
client.cpp
This is the main application source file that contains the application
class CClientApp.
client.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
client.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\client.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file client.rc.
res\client.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
clientDlg.h, clientDlg.cpp - the dialog
These files contain your CClientDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in client.rc, which can be edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named client.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
程序功能介绍:<br> 点击“登陆”,输入服务器名,点击“确定”开启服务器。客户端链接到服务器后,把在线用户名添加到“在线用户列表”,进入聊天状态,在发送框里输入信息,按回车直接发送。“提示框”会对用户进行提示,如“正在输入•••”,“聊天中••••”,“当前无连接,消息无法发送••••”<br>程序设计思想:<br> 服务器设定好端口号后启动(即开始监听),客户登陆后客户端向服务器发起连接,并将客户端名信息加上标志位(#New#User#)后发送给服务器,服务器识别标志位知道发来的是客户名,读取客户名并将其添加到在线客户列表,同时分配给客户一个客户编号(1,2,3•••),将该编号加在服务器名信息头部发送给客户端,客户端提取编号并读取服务器名,之后在每一条发送给服务器的信息头部都加上自己的编号以识别不同的客户。在收到某位客户的消息后,将客户名+时间+消息 显示到消息接收框中。<br>
资源推荐
资源详情
资源评论
收起资源包目录
聊天程序(client).rar (79个子文件)
聊天程序(client)
MyDlg.h 1KB
CLIENT.dsp 5KB
LABEL.CPP 5KB
CLIENT.rc 8KB
StdAfx.cpp 208B
LABEL.H 2KB
resource.h 2KB
MyDlg.cpp 2KB
CLIENT.ncb 89KB
CLIENT.APS 613KB
ClientSocket.cpp 927B
CLIENTDlg.h 2KB
CLIENT.plg 2KB
ClientSocket.h 1KB
Debug
CLIENT.pch 5.39MB
CLIENT.pdb 385KB
vc60.pdb 372KB
CLIENTDlg.obj 60KB
vc60.idb 209KB
ClientSocket.obj 6KB
CLIENT.exe 816KB
CLIENT.res 577KB
StdAfx.obj 104KB
LABEL.obj 27KB
MyDlg.obj 18KB
CLIENT.ilk 292KB
CLIENT.obj 16KB
client
新建文件夹
client.dsp 4KB
client.clw 2KB
StdAfx.cpp 208B
clientDlg.h 2KB
client.dsw 537B
client.opt 49KB
client.aps 20KB
ClientSocket.cpp 866B
clientDlg.cpp 5KB
client.h 1KB
ClientSocket.h 1KB
Debug
ReadMe.txt 3KB
StdAfx.h 1KB
client.rc 6KB
Resource.h 573B
res
client.rc2 398B
client.ico 1KB
client.cpp 2KB
client.ncb 65KB
ReadMe.txt 3KB
StdAfx.h 1KB
CLIENT.suo 7KB
CLIENT.clw 2KB
CLIENTDlg.cpp 10KB
CLIENT.sln 333B
Release
CLIENT.pch 5.49MB
CLIENTDlg.obj 38KB
vc60.idb 57KB
ClientSocket.obj 4KB
CLIENT.exe 608KB
CLIENT.rar 94KB
CLIENT.res 577KB
StdAfx.obj 810B
LABEL.obj 21KB
说明.txt 159B
MyDlg.obj 14KB
CLIENT.obj 11KB
聊天程序.exe 24KB
res
200610灰度.BMP 5KB
SMILE.ICO 24KB
CLIENT.ico 25KB
20061021013514(7)_200610210135147.BMP 19KB
CLIENT1.ico 1KB
CLIENT.rc2 398B
背景2.BMP 465KB
Doraemon.ico 21KB
20061021013514(11)_2006102101351411.BMP 11KB
icon1.ico 24KB
CLIENT.opt 51KB
CLIENT.h 1KB
CLIENT.dsw 537B
CLIENT.cpp 2KB
共 79 条
- 1
资源评论
- u0102671922014-05-16很好,但是我不知道如何连接IP,望楼主解答
- swordsman2013-07-29作者没有介绍,是在什么环境下运行的?比如:windows、linux。下载下来不能使用。因为我是linux环境。 希望作者能把这个基本的运行环境说明加上。
- nvshenxp2012-04-24好像有一点小问题。。。
koobee
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功