JXTA

Python Library/Framework for writing P2P applications [closed]

匆匆过客 提交于 2019-12-03 05:09:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Is there any library or framework for writing P2P applications in Python ? I know the initial Bittorrent client was written in Python. I'm looking something like JXTA but for Python. 回答1: Twisted is pretty much the answer to anything seriously network-related in Python, but you really have to buy into the

Python Library/Framework for writing P2P applications [closed]

老子叫甜甜 提交于 2019-12-02 18:26:37
Is there any library or framework for writing P2P applications in Python ? I know the initial Bittorrent client was written in Python. I'm looking something like JXTA but for Python. Twisted is pretty much the answer to anything seriously network-related in Python, but you really have to buy into the Twisted way of doing things. It's not intrinsically a P2P stack, it's an event loop, callback system and networking framework. Divmod Vertex is not currently being maintained, and was still pretty rough when I tried using it a few years ago. CSpace might be the closest to what you're looking for:

Generating X509Certificate using bouncycastle X509v3CertificateBuilder

倖福魔咒の 提交于 2019-11-30 07:07:37
问题 I'm attempting to port JXTA to run on App Engine. Given that the BouncyCastle "BC" provider is not yet supported on App Engine, I have to port the existing JXTA code to generate a X509Certificate using white-listed classes. My knowledge of Crypto is minimal and i'm not certain that what i'm trying to accomplish is even possible. Here is the original code from PSEUtils.java from the JXTA project: PSEUtils.java There's a helper class which contains the java.security.cert.X509Certificate :

[P2P技术]如何配置JXTA Shell(airclh)

你说的曾经没有我的故事 提交于 2019-11-28 16:44:33
JXTA Shell为JXTA平台提供了一个交互式的环境,使用户无须编程就能试验核心JXTA平台。Shell提供了一些基本命令,这些命令可以发现对等体和对等组,加入和脱离对等组,在对等组之间创建管道,以及发送管道消息。Shell提供了一些环境变量,可将符号名称绑定至JXTA平台对象上。这些环境变量允许Shell命令之间进行数据交换。 安装的第一步是从在shell的主页( http://shell.jxta.org/ )上下载JXTA Shell,解压后在shell文件夹中运行(.exe)文件(针对Microsoft Windows用户)。之后将出现如下的界面: 该配制器有3个选项卡: basic 此配置管理器的basic选项卡允许用户为自己的对等体指派一个名称。可以是任何字符串,你输入的名称并不能确保是唯一的,没关系,因为每个对等体还具有一个ID号,这个ID在JXTA网络中是唯一的。 一台电脑可以运行多个Shell实例,只需: ² 创建一个新的目录,如:shell2,在其中保存配置信息 ² 将.sh、.bat脚本和.exe文件复制到新的目录中。 ² 进入该目录 ² 执行启动脚本 Advanced 此选项卡允许用户设置该对等体的网络基础设施。默认情况下,该配置管理器预先为与其他对等体的通信配置好了TCP/IP和HTTP传输。 默认情况下,TCP是禁用的