简体   繁体   English

我应该知道开发一个p2p小程序

[英]What should I know to develop a p2p applet

I need to develop a java applet(without GUI) that uses sockets for data sharing between two or more peers. 我需要开发一个java applet(没有GUI),它使用套接字在两个或多个对等体之间共享数据。 I'm fresh new to network based programming, so I have to ask which subjects or elements or terms should I know to develop this kind of applets? 我是基于网络的编程的新手,所以我不得不问我应该知道哪些主题或元素或术语来开发这种小程序? I've read some articles and reviewed some apps about socket programming, like a basic chat app that uses swing or transferring a file within hard disk, but couldn't really get the idea. 我已经阅读了一些文章并回顾了一些关于套接字编程的应用程序,比如使用swing或在硬盘中传输文件的基本聊天应用程序,但无法真正理解。 I don't know what should I seek or what should I know to develop this applet, any suggestion will be appreciated 我不知道我应该寻求什么,或者我应该知道什么来开发这个小程序,任何建议将不胜感激

I found this to be of some use as an introduction to P2P architecture design. 我发现这有点用作P2P架构设计的介绍。

http://cs.berry.edu/~nhamid/p2p/ http://cs.berry.edu/~nhamid/p2p/

It provides working code examples which you can modify for Science or to fit your needs. 它提供了可以为Science修改或满足您需求的工作代码示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM