p2p

Document ranking strategy for P2P file sharing system.

Recently, I got a task of building a P2P file sharing system. There is one requirement : the system should have a document ranking algorithm so that it could be used help users find more valuable files. Several strategy might be useful : force user to give a score to a file before it was downloaded The documents containing certain k...

p2p video conference

I have developed a peer to peer wpf application and in it I am just broadcasting my video to other peers, but I also want to see their video at the same time. Currently I do not know how to pass my video stream to other peer's machine so that they can process it on their own. I want it to be p2p video conferencing. I want that one peer s...

How to create a virtual network for an application

I'm creating a simple p2p application. To test this I'd like to be able to simulate a simple network of about 2-3 computers, such that each instance of the application thinks its on a different computer and talking with others over the network. I considered qemu, but haven't managed to get networking working using VDE or TUN/TAP. is thei...

NSError question

I have been creating a peer to peer connection for a new game, that does not use the peer picker. I am however dumbstruck as what to i put in here: - (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID { NSLog(@"I GOTS A CONNECTION REQUEST"); if(connected == YES) { //deny all requests } else if(con...

How do I connect a pair of clients together via a server for an online game?

I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does th...

IPhone P2P - Problem with p2p connection when 3 iphones are searching

Here's the situation, I made a game that use GKSessionModePeer to do the multiplay mode, but the problem is happened when I use three iphones, just call them A,B,C when A and C searched B,they choose B at the same time, then the screen change to the waiting for apply page, at this moment,problem happen!!!!! A and C start the game sudden...

What is test1, test2 and test3 in case of STUN ?

Hello, I didn't understood importance of three tests in case of STUN ? STUN server is used for knowing external port and ip address so why three requests? Thanks ...

The easiest DHT to implement

Which Distributed Hash Table (DHT) is easiest to implement in Python? Any good example that is not bloated? I not am looking for a definition of DHT because I am more oriented and focused on design and implementation of such. ...

P2P or Distributed System implementation

Hi, I have the work of implementing a distributed system of nodes (like p2p nodes) each of these nodes (lets say A,B,C and D) perform certain functions and need to interact with each other for various operations such as synchronize operations and other things like 15 A nodes interact with a group of 5 B nodes to get into the least loade...

The most efficient DHT

What is the most efficient DHT? I am looking for name and/or some kind of implementation or related work, but I am not looking for the one that is most used. Efficient in terms of CPU execution cycles, load balance, and memory consumption. ...

WCF P2P "Lost" Messages

I have a simple WCF-based P2P application that essentially allows users to chat via the command line. (This is a proof of concept app.) It uses PNRP for name resolution. When each console is started, it creates a new self hosted instance of the "P2PService". It then creates a nother instance of the P2PService, establishes a duplex chann...

NAT, P2P and Multiplayer

How can an application be designed such that two peers can communicate directly with each other (assuming both know each other's IPs), but without outgoing connections? That's, no ports will be opened. Bitorrent for example does it, but multiplayer games (as far as I know) require port forwarding. ...

JXTA Applications on the iPhone

I'm creating a P2P Java application in JXTA, for simple messaging between peers. I want to create a similar program on the iPhone, that will be able to talk with this java JXTA program. Is this possible to do? I know theres JXTA-C which would work on the iPhone, but I'm not sure if the JXTA-C will communicate properly with JXTA-Java. I...

Open-source p2p videoconferencing in Flash or Java?

I want to build a community website with videoconferencing functionality integrated. I would prefer to provide this from within the browser, so I'm looking for a Java- or Flash-based solution. Also, it would be nice to spare bandwidth by having the clients stream their audio and video data without using a central server (like the way Sk...

Maintaining network integrity in peer-to-peer network

I am looking for information on techniques, algorithms, etc. on how to maintain network integrity in a dynamic peer-to-peer network. Both practical implementations, academic papers and anything else in that category are welcome. Imagine a network that is solely peer-to-peer based where each node is only connect to x other nodes. Without...

Proper way to implement a Direct Connect client in Twisted?

I'm working on writing a Python client for Direct Connect P2P networks. Essentially, it works by connecting to a central server, and responding to other users who are searching for files. Occasionally, another client will ask us to connect to them, and they might begin downloading a file from us. This is a direct connection to the other...

wcf net.p2p:// - does this work over the internet?

Does the net.p2p protocol allow peers to connect over the Internet (through NAT, Firewall, etc). I understand that PNRP addresses this (thats fine if your using ipV6) but can this also be done when using a custom resolver? ie: when a peer registers in the cloud, does it just get back net.p2p://mypcName/endPoint or does the resolver/PNR...

P2P in Flash / Flex without using Adobe Stratus

Hi all, Flash 10+ allows peer to peer capabilities to be implemented in Flex and Flash applications. However Adobe has sought to "control" this feature by ensuring that P2P can only be achieved using their hosted beta service called Stratus. This is to the best of my knowledge. Is there any alternate method to achieve the same? FYI: ...

Can Android do peer-to-peer ad-hoc networking?

Is it possible to set up Android in ad-hoc peer-to-peer wifi mode? For example, I would like to have one phone broadcast a message, and have all peers in the network receive the broadcast, without having a server. I would like to use wifi since bluetooth range is more limited. ...

users authentication and dht

Lets say that I have only DHT (distributed hash table) implemented (in Python), and I want to build authentication service over P2P network, but without introducing centralized authentication server with such a service. Can it be done, and if so how can I achieve this? I'm familiar with how Skype and Wuala have done this, but I am looki...