期刊文献+

基于Qt的一个服务器多个客户端的TCP通信 被引量:14

TCP Communications of One Sever to Several Clients Based on Qt
下载PDF
导出
摘要 作为跨平台应用程序和UI开发框架,Qt被越来越多地用于应用程序的开发上。而网络程序又是软件开发的主要内容之一,文中对如何利用Qt开发TCP网络程序进行了研究。通过新建TCPServer类和TCPSocket类,分别继承自Qt里封装好的QTCPServer类和QTCPSocket类,完成服务器和套接字的建立与连接,从而实现了搭建针对多客户端的服务器。 As a good cross-platform application and UI development framework, Qt is increasingly used in ap-plication development, in which the web application is one of the main aspects. This paper discusses the use of Qt todevelop the procedures of TCP network. The server and socket connection are established by using new Qt encapsula-ted TCPServer class and TCPSocket class inherited from QTCPServer class and QTCPSocket class respectively, so asto realize the set for the server to several clients.
出处 《电子科技》 2015年第3期76-78,82,共4页 Electronic Science and Technology
关键词 服务器 多客户端 Qt TCP server several clients
  • 相关文献

参考文献6

  • 1LAURAA.Chappell,EdTittel.TCP/IP协议原理与应用[M].北京:清华大学出版社,2009.
  • 2Nokia公司.Qt参考文档[EB/OL].http://doc.trolltech.com/4.6/index.html.
  • 3Jasmin Blanchette,Mark Summerfiel.C++ GUI Qt4编程[M].2版.闫峰欣,曾泉人,张志强,译.北京:电子工业出版社,2008:238-249.
  • 4蔡志明,卢传富,李立夏.精通Qt4编程[M].北京:电子工业出版社,2008-01:2-3.
  • 5赵伟.基于Socket的消息队列中间件的研究与实现[D].呼和浩特:内蒙古大学,2007.
  • 6么丽颖.基于Linux的服务器集群系统的研究与设计[J].电子科技,2012,25(6):4-5. 被引量:4

二级参考文献3

共引文献69

同被引文献66

引证文献14

二级引证文献24

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部