p2p

Communication between two computers without opening ports, using a third computer to set up the connection

前提是你 提交于 2019-12-03 08:01:58
问题 Let's say I have a server, and two clients connected to it. (via TCP, but it doesn't matter) My goal is to allow a direct connection between those two clients. This is to allow direct voice contact between two players, for example, or any other client plugin they may have installed which don't need server interaction (like playing some kind of random game between the two). The server can be there to help setting up the connection. From duskwuff's answer, I got several leads: http://en

Adding new nodes to Kademlia, building Kademlia routing tables

安稳与你 提交于 2019-12-03 07:52:50
问题 I can't quite wrap my brain around the joining process of Kademlia DHTs. I've seen a few tutorials and presentations online, but they all seem to say things the same way and all psedo code etc is the same in most (actual copy/paste). Can somebody give a high level walk through on this? 回答1: I'm assuming you've read the Kademlia paper. Here's an excerpt from my article An Introduction to Kademlia DHT & How It Works Some background information: When you have a Kademlia network running, there

Android Wi-Fi Direct Network

喜夏-厌秋 提交于 2019-12-03 07:50:36
问题 I am developing an application on Android where I am searching for all the peers in the range and afterwards connect with all of them, The device who initiated the the discovery become the group owner and all others become client, I have done all the connection thing but now I want to the group owner to send the message to all the connecting peers, How to achieve this and also please tell me what is the methodology in peer-to-peer communication , Does p2p in Android also use IP to send and

Working Hello World WebRTC DataChannel Examples with Signaling Implemented

让人想犯罪 __ 提交于 2019-12-03 07:16:32
The intent is for this to become a Community Wiki post that is kept up-to-date so developers interested in implementing communication of JSON messages browser-to-browser (p2p) with WebRTC DataChannels have simple yet functional examples. WebRTC DataChannels are experimental and still in draft. It seems that currently the web is a minefield of outdated WebRTC examples and even more so if a developer is trying to learn the RTCDataChannel API. Simple yet functional 1-page examples that work today across WebRTC compliant browsers seem very difficult to find. For example, some examples leave out a

How to transfer “data” between two device (android,iphone)?

 ̄綄美尐妖づ 提交于 2019-12-03 06:59:48
问题 How can i transfer data between two device? I would like to transfer data (mostly image file) between different platforms (android,iphone). Is it possible to use p2p or should i use client-server? Any help will be appreciated. 回答1: While p2p is possible in some cases, you will achieve the most widespread compatibility with a client-server architecture, at the cost of having to deploy, power, connect, and maintain servers. You will be able to use both wifi access points and mobile (3g, etc)

Can we send data from an android device to another android device directly (p2p) without server in the middle?

百般思念 提交于 2019-12-03 06:54:24
I need to send data from one android device to another android device directly(p2p) after they find each other through a server. I read some stuff that this can't be done but I don't understand why a device that can access the internet (it has an IP right?) can not create a peer to peer connection? If this is not possible why? and if it is how? P.S : I know without internet we cannot achieve that,the question presumes that both targets have internet connection, either gprs/3g/4g or wifi internet connection! Note : I want this to be possible both on wifi and non-wifi internet! I have had

Direct P2P connection

倾然丶 夕夏残阳落幕 提交于 2019-12-03 06:25:33
问题 This topic resembles this thread I'm rather new to the topic of network programming, never having done anything but basic TCP/UDP on a single local machine. Now I'm developing an application that will need P2P network support. More specifically I will need the application to connnect and communicate across the internet preferably without the use of a server to do the matchmaking between the clients. I'm aware and assuming that almost all users are behind a router which complicates the process

Why has JXTA been abandoned? Any alternatives out there?

给你一囗甜甜゛ 提交于 2019-12-03 06:15:46
P2p/Grid Computing seem like a promising concepts. JXTA looks like the only all in one framework for it. Is there a reason this field is so sparsely pursued? I have lead the release of JXTA 2.6 and 2.7 - JXTA is not completely abandoned. Some people have posted patches on the 2.6 branch and it could easily be merged with the 2.7 branch. There are many reasons why people did not carry on participating to JXTA: Oracle did not follow-up on their duties regarding project governance, which left the project in a limbo state. Oracle did not follow-up on a request to move the project to Apache. The

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

Could Node.js run client side in Chrome with its native client (to be released soon)

淺唱寂寞╮ 提交于 2019-12-03 04:33:04
问题 Google Chrome's native client is soon to be released. http://blog.chromium.org/2011/02/native-client-getting-ready-for-takeoff.html Would this allow node.js to be run within the browser enabling distributed applications to communicate with each other without having to go through the server? 回答1: node.js is not pure Javascript code. There are parts of it written in C++ so this is unlikely. There are a couple of possibilities for distributed communication. One is to use the Websockets api in