文件名称:connect
- 所属分类:
- 数据库编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-03-16
- 文件大小:
- 193kb
- 下载次数:
- 0次
- 提 供 者:
- 大*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在一台电脑上启动服务器目录下的server,在另一台电脑上启动客户端目录下的client。在客户端程序“连接”按钮上方的编辑框中输入服务器端的ip地址,
单击连接,如果硬件连接正常,IP地址正确,便可建立网络连接,实现互相通讯。
2、服务器端使用了两个线程,一个线程用于与所有客户端通讯(嵌套调用),另一个用于监视数据库db1.mdb。服务器运行的过程中,监视数据库线程会自动检测
数据库“示例表”中第一条记录“age”字段的变化情况,动态的反映到服务器上。若要测试,在服务器运行时,直接用Access打开数据库表,修改“age”值即可看到效果。监视其它字段同理。
-Start Server server directory on a computer, start the client in the client directory on another computer. In the client program " Connect" button at the top of edit box, enter the server ip address, click Connect, if the hardware is connected properly, IP addresses correctly, you can establish a network connection, to achieve mutual communication. 2, the server uses two threads, one thread for all client communications (nested calls), and the other for monitoring database db1.mdb. Changes in the process server is running, the monitor will automatically detect the database thread database " sample table" first record " age" field, dynamic reflected on the server. To test the server is running, open the Access database tables directly, modify " age" values to see the effect. Monitoring other fields empathy.
单击连接,如果硬件连接正常,IP地址正确,便可建立网络连接,实现互相通讯。
2、服务器端使用了两个线程,一个线程用于与所有客户端通讯(嵌套调用),另一个用于监视数据库db1.mdb。服务器运行的过程中,监视数据库线程会自动检测
数据库“示例表”中第一条记录“age”字段的变化情况,动态的反映到服务器上。若要测试,在服务器运行时,直接用Access打开数据库表,修改“age”值即可看到效果。监视其它字段同理。
-Start Server server directory on a computer, start the client in the client directory on another computer. In the client program " Connect" button at the top of edit box, enter the server ip address, click Connect, if the hardware is connected properly, IP addresses correctly, you can establish a network connection, to achieve mutual communication. 2, the server uses two threads, one thread for all client communications (nested calls), and the other for monitoring database db1.mdb. Changes in the process server is running, the monitor will automatically detect the database thread database " sample table" first record " age" field, dynamic reflected on the server. To test the server is running, open the Access database tables directly, modify " age" values to see the effect. Monitoring other fields empathy.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
说明.txt
CLIENT\CLIENT.APS
......\CLIENT.CLW
......\CLIENT.CPP
......\CLIENT.DSP
......\CLIENT.DSW
......\CLIENT.H
......\CLIENT.NCB
......\CLIENT.OPT
......\CLIENT.PLG
......\CLIENT.RC
......\RCa04052
......\RDa04052
......\ReadMe.txt
......\Resource.h
......\StdAfx.cpp
......\StdAfx.h
......\clientDlg.cpp
......\clientDlg.h
......\RES\CLIENT.ICO
......\...\CLIENT.RC2
SERVER\#B1.LDB
......\DB1.MDB
......\MSADO15.TLH
......\MSADO15.TLI
......\ReadMe.txt
......\Resource.h
......\SERVER.APS
......\SERVER.CLW
......\SERVER.CPP
......\SERVER.DSP
......\SERVER.DSW
......\SERVER.H
......\SERVER.NCB
......\SERVER.OPT
......\SERVER.PLG
......\SERVER.RC
......\StdAfx.cpp
......\StdAfx.h
......\serverDlg.cpp
......\serverDlg.h
......\RES\SERVER.ICO
......\...\SERVER.RC2
......\...\Thumbs.db
CLIENT\RES
......\Debug
SERVER\RES
CLIENT
SERVER