计算机网络实验2.zip

上传者: castanea | 上传时间: 2021-04-29 12:22:14 | 文件大小: 439KB | 文件类型: ZIP
天津理工大学 计算机网络 实验2 实验报告以及Java源代码 基于TCP/UDP的Socket编程,其中包括java代码,复制粘贴使用即可,使用intellij IDEA或者任何其他Java开发环境都可以运行,每个文件夹中包括Server以及Client服务端以及客户端 ,先运行Server再运行Client,其中文件传输需要自己建立txt文件,并更改代码中路径即可,发送为send.txt,接受为receive.txt

文件下载

资源详情

[{"title":"( 41 个子文件 439KB ) 计算机网络实验2.zip","children":[{"title":"计算机网络实验2","children":[{"title":"天津理工大学计算机网络实验2报告基于TCP:UDP的Socket编程.doc <span style='color:#111;'> 536.50KB </span>","children":null,"spread":false},{"title":"t2","children":[{"title":"t2.iml <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"UDP","children":[{"title":"UDPClient.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"UDPServer.java <span style='color:#111;'> 1023B </span>","children":null,"spread":false}],"spread":true},{"title":"socket","children":[{"title":"Server.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"Client.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCPFile","children":[{"title":"TCPClientFile.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"TCPServerFile.java <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"resourse","children":[{"title":"send.txt <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"received.txt <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"UDPreceived.txt <span style='color:#111;'> 24B </span>","children":null,"spread":false}],"spread":true},{"title":"UDPFile","children":[{"title":"UDPServerFile.java <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"UDPClientFile.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCP","children":[{"title":"TCPServer.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"TCPClient.java <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"File","children":[{"title":"ServerFile.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"ClientFile.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"codeStyles","children":[{"title":"codeStyleConfig.xml <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":"uiDesigner.xml <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"description.html <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 7.12KB </span>","children":null,"spread":false},{"title":"project-template.xml <span style='color:#111;'> 91B </span>","children":null,"spread":false}],"spread":true},{"title":"out","children":[{"title":"production","children":[{"title":"t2","children":[{"title":"META-INF","children":[{"title":"t2.kotlin_module <span style='color:#111;'> 16B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"UDP","children":[{"title":"UDPClient.class <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"UDPServer.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"socket","children":[{"title":"Server.class <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"Client.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"TCPFile","children":[{"title":"TCPServerFile.class <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"TCPClientFile.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"resourse","children":[{"title":"send.txt <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"received.txt <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"UDPreceived.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"UDPFile","children":[{"title":"UDPClientFile.class <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"UDPServerFile.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"TCP","children":[{"title":"TCPServer.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"TCPClient.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"File","children":[{"title":"ClientFile.class <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"ServerFile.class <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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