socket 一个服务器对应多个客户端使用多线程

上传者: weimengli | 上传时间: 2021-03-04 18:45:20 | 文件大小: 55KB | 文件类型: RAR
多线程实现的一对多编程,使用Linux下的socket进行编程。

文件下载

资源详情

[{"title":"( 41 个子文件 55KB ) socket 一个服务器对应多个客户端使用多线程","children":[{"title":"tcp_线程搞定","children":[{"title":"tcp_v11.0","children":[{"title":"server","children":[{"title":"cal_crc.c <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"unpack.c <span style='color:#111;'> 785B </span>","children":null,"spread":false},{"title":"server.o <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"server.c <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"msg.h <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"pack.c <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"cal_crc.o <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"cal_crc.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 368B </span>","children":null,"spread":false}],"spread":true},{"title":"client","children":[{"title":"client.c <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":".client.c.swp <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"cal_crc.c <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"msg.h <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"client.o <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"client.c~ <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"cal_crc.o <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"client <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"cal_crc.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":".client.c.swo <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"tcp_v10.0","children":[{"title":"server","children":[{"title":"cal_crc.c <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"server.o <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"server.c <span style='color:#111;'> 8.37KB </span>","children":null,"spread":false},{"title":"msg.h <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"server <span style='color:#111;'> 10.76KB </span>","children":null,"spread":false},{"title":"server.c~ <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"cal_crc.o <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"msg.h.bak <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"cal_crc.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 237B </span>","children":null,"spread":false}],"spread":true},{"title":"client","children":[{"title":"client.c <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":".client.c.swp <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"cal_crc.c <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"msg.h <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"client.o <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"client.c~ <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"cal_crc.o <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"client <span style='color:#111;'> 8.86KB </span>","children":null,"spread":false},{"title":"cal_crc.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":".client.c.swo <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • u010591915 :
    不错,资源很好
    2016-04-21
  • 桔梗花的爱恋 :
    多线程应用的不错的一个例子
    2015-06-17
  • Cyberrrrr :
    可以拿来做多线程的参考,不错
    2015-05-27
  • chris_nan :
    课设用到的,很赞
    2015-04-18
  • MH3358 :
    值得学习,我是新手
    2014-07-23
  • xieaaAA :
    不错的资源,对很有用
    2014-05-24
  • a714739257 :
    非常不错哦,学习了!
    2014-01-07
  • 地下害虫 :
    做毕业课题的时候用了,帮助很大!
    2013-12-04
  • jing419126 :
    可以学习,实用
    2013-11-22
  • FzChen_2012 :
    简单的socket通信编程。。。。
    2013-11-22
  • 完美废人86 :
    多线程例子,初学者好东西
    2013-10-17
  • qazsew567 :
    makefile有问题
    2013-08-22
  • unihykes :
    多线程实现的。简单易懂。
    2013-08-20
  • reginadeng :
    作为入门学习来说,挺好的
    2013-08-02
  • Apenper.Liu :
    可以用,初学者可以学学
    2013-07-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明