-
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再...
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再接好)过了一会网络恢复正常,客户端能自动连接到服务器端,不能人工干涉! 我查了一些资料,在VC里有一个函数OnTimer(nIDEvent)可以定时产生事件!可以实现这个功能,但是我用了,还是连不上,请大家帮帮忙吧!做好后给我发到我的邮箱里!谢谢!-This is a complete C/S programe,but I hope put more function into it.Please help me.Fllowing is I ll want to do.When client is communicating with server normally,the network link is down. After while the link recovery(ie,I take the cable out from the computer then plug it in.)The Client can reconnect the server automatically not redo by human.I study some reference information to do it.There is a function OnTimer(nIDEvent) in VC can send event message periodically.But I still can t reconnect.Please help me to do it and then mail to me. Thanks.
- 2022-03-31 05:36:33下载
- 积分:1
-
一个简单的套接字通信原理实现的聊天程序
一个简单的利用socket通讯原理实现的聊天程序-A simple principle of the use of socket communication realize the chat program
- 2022-04-23 13:17:05下载
- 积分:1
-
一个网络应用类CWiCNet
一个网络应用类CWiCNet--A network application class CWiCNet
- 2022-07-14 06:39:12下载
- 积分:1
-
做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信...
做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。-To do more client and server-side two-way communication, using QLocalSocket/QLocalServer to achieve them simple, but the communication efficiency is too low, the client made the data, the server-side readyRead the signal delay of about 100ms (see QT source code found inside using a 100ms timer device to detect the signal), and later their shining QLocalSocket encapsulates the idea of windows named pipes, using multiple threads to receive data, tested on this machine, the communication efficiency has clearly improved.
- 2022-05-28 11:28:15下载
- 积分:1
-
这是一个找到一篇关于权限设计的教程,写的很好,但是发现给出的代码,有些地方可能有笔误。贴出来供大家和我一起学习。...
这是一个找到一篇关于权限设计的教程,写的很好,但是发现给出的代码,有些地方可能有笔误。贴出来供大家和我一起学习。
-----------------------------------
首先,设置三种要素:用户、群组、角色。
用户为登录用,对应到人。群组对应为用户的集合,是一种特殊的用户。角色为一组权限项的集合,用户(群组)都有各自的角色。
权限的实现通过Permission类和Rule类来实现。 Permission供外部调用,Rule为一个接口,为权限判断规则。
-This is a mandate to find a design of the curriculum and write well, but the code is found, in some places may be misdirected. Put up for us and I study together.----------------------------------- First, the set of three elements : user, group, role. Users login to use corresponds to the people. User groups corresponding to the pool, a special users. A role for the authority, of the group assembled users (groups) have their own role. To achieve competence through Permission Rule category and class to be achieved. Permission for external calls, as a Rule interface for the authority to judge rules.
- 2022-06-13 15:45:39下载
- 积分:1
-
nettime procedures can access the internet is very easy to use
nettime程序
可以随时获取internet上的时间
非常好用-nettime procedures can access the internet is very easy to use
- 2022-08-26 01:58:05下载
- 积分:1
-
捕获数据包
捕获数据包-Packet capture
- 2022-04-23 21:48:24下载
- 积分:1
-
利用拨号上网的简单例子。
利用拨号上网的简单例子。-use dial-up Internet access simple example.
- 2023-01-26 19:00:03下载
- 积分:1
-
VC++6操作网络TCP
VC++6操作网络TCP
VC++6操作网络TCP
VC++6操作网络TCP-VC++6 operating network TCP ok VC++6 operating network TCP ok
- 2023-03-16 08:05:04下载
- 积分:1
-
A panel below the tree and just above the status bar displays statistical inform...
A panel below the tree and just above the status bar displays statistical information as you snag a Web site.
- 2022-01-26 20:03:20下载
- 积分:1