Client-server QT Tool for Managing PPC (PowerPC)
来源:互联网 发布:php和c语言哪个难 编辑:程序博客网 时间:2024/06/06 08:46
The first English article I am trying to write.
1、 The characteristic of PPC
1) User does not need to log in. So long as the PPC is idle, user can connect it using socket.
2) One PPC can only be connected to one user. When it is connected by someone, the others won’t connect this PPC anymore.
So the question is how can I connect all the PPCs that is idle, to let others must use the client to apply PPC?
Originally, I thought that I need mutiple thread to connect so many PPCs, but it turned out to be a wrong method. Because one QTcpSocker object can only be used to connect one PPC.
Every PPC must be connected by corresponding QTcpSocket object. Sowe need more than one QTcpSocket object. So the way to achieve it is define a List that contain QTcpSocket * data.
2、 Which kind of client- server model I should choose?
QT assistant and C++ GUI programming introduce two kinds model for each. The client can be blocking and non-blocking. The server can be single-thread and multiple-threads.
Because the number of user is little, so the client has no need to beblocking. And the server will bemultiple threads.
3、Defining data needed to be transported between clients and server
1) Occupancy of PPC
2) User of PPC
3) Request for getting and returning PPC
- Client-server QT Tool for Managing PPC (PowerPC)
- Managing SQL Server Client Aliases with WMI Provider
- Qt中Tcp:Server、Client
- PowerPC Figure – PPC入门与优化
- http client/server for asyncio
- A simply client code for that server.
- pomelo client for server [pomelo 客户端模块化]
- libevent for echo server and client
- libevent for echo server and client
- Managing the server
- linux powerpc e500内核外部中断,PIC,PPC,设备驱动
- Optidy for PPC 近期发布
- Managing Client Network Protocols with WMI Provider
- Vxworks for PowerPC安装步骤
- Managing Certificates for Application Testing
- 10 Tips for Managing Teams
- Managing SharePoint Portal Server 2003
- Qt下Client与Server之间的双向TCP通信。
- linux网络基础
- 黑马程序员-Java面向对象2
- Spring实现数据库读写分离
- 白文召的专栏LNMP
- 基于visual Studio2013解决面试题之0208二叉搜索树后序遍历序列
- Client-server QT Tool for Managing PPC (PowerPC)
- 子网掩码小结
- spring中AOP动态代理基本原理
- ACE事件处理器
- linux下卸载mysql
- 调试Release发布版程序的Crash错误
- Servlet和JSP学习笔记
- Hard 不用+号实现两个数之和 @CareerCup
- Servlet与Tomcat