socket多线程文件上传下载 完整实例

上传者: renchao118 | 上传时间: 2019-12-21 20:59:50 | 文件大小: 2.79MB | 文件类型: zip
五个package包,11个类文件 服务器入口 : com.hz.chang.server_server.ServerAction 直接运行就ok 客户端入口: com.hz.chang.server_client.ClientAction 运行时需要输入一个并发数 建议导出客户端jar文件,以便在不同机器上运行客户端程序,这样容易出现那种阻塞情况.

文件下载

资源详情

[{"title":"( 38 个子文件 2.79MB ) socket多线程文件上传下载 完整实例","children":[{"title":"socket","children":[{"title":"bin","children":[{"title":"log4j.properties <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"入口说明.txt <span style='color:#111;'> 303B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"hz","children":[{"title":"chang","children":[{"title":"server_server","children":[{"title":"HandelMain.class <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"ServerAction.class <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"server_client","children":[{"title":"ClientSocket.class <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"ClientMain$1.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"ClientMain.class <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false},{"title":"ClientAction$1.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"ClientAction.class <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"server_base","children":[{"title":"BaseSocket.class <span style='color:#111;'> 979B </span>","children":null,"spread":false},{"title":"BaseSocketTool.class <span style='color:#111;'> 7.25KB </span>","children":null,"spread":false},{"title":"Operation.class <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"HandleType.class <span style='color:#111;'> 802B </span>","children":null,"spread":false}],"spread":true},{"title":"server_util","children":[{"title":"Utils.class <span style='color:#111;'> 852B </span>","children":null,"spread":false}],"spread":true},{"title":"server_exception","children":[{"title":"CanNotConnectDataBaseException.class <span style='color:#111;'> 659B </span>","children":null,"spread":false}],"spread":true},{"title":"server_model","children":[{"title":"Users.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"serverLog.log <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.core.runtime.prefs <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"log4j.properties <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"入口说明.txt <span style='color:#111;'> 303B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"hz","children":[{"title":"chang","children":[{"title":"server_server","children":[{"title":"HandelMain.java <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"ServerAction.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"server_client","children":[{"title":"ClientAction.java <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false},{"title":"ClientSocket.java <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"ClientMain.java <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"server_base","children":[{"title":"BaseSocket.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"BaseSocketTool.java <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"Operation.java <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"HandleType.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"server_util","children":[{"title":"Utils.java <span style='color:#111;'> 674B </span>","children":null,"spread":false}],"spread":true},{"title":"server_exception","children":[{"title":"CanNotConnectDataBaseException.java <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":false},{"title":"server_model","children":[{"title":"Users.java <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"log4j.jar <span style='color:#111;'> 358.83KB </span>","children":null,"spread":false},{"title":"hibernate3.jar <span style='color:#111;'> 2.64MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • yanghaos :
    该资源未经 本人 允许而 下载后又上传的,请尽快 与 本人 获取联系 或 删除该资源
    2018-12-12

免责申明

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