p2p

Can JAX-WS be used to let a server execute web service calls on a client?

Hello! I'm playing around with P2P. I want to use JAX-WS for communication inside a P2P network. Some peers are "behind a firewall", so they can't listen on ports. (They act as clients). Other peers are allowed to listen on ports. (They act as servers (and clients)). Now I want to be able to abstract from the fact, which peers are serv...

Is it possible to connect a socket between two mobile devices (iPhones) over the internet?

Is it possible to connect a socket between two mobile devices (iPhones) over the internet? I am trying to discover the IP of each device and connect directly. I know it can be done with Bonjour but that only works on local networks. I need a high speed connection between two devices over the internet. Thanks. ...

Twisted and p2p applications

Can you tell me: could I use twisted for p2p-applications creating? And what protocols should I choose for this? ...

Adobe Flash Peer-to-Peer Application

I am doing a meeting system that display documents (PDFs) for end-users using Adobe Flash AS3 and Adobe Air. as a requirement we need to develop some interactive tools between end-users alike chat, sending files, polls and such stuff, but I should do it based on peer-to-peer connection. (No client/server method is allowed due to cost and...

.Net implementation of DHT

Are there any open-source .Net implementations of distributed hash tables such as Chord, Pastry, Tapestry? ...

What is a good implementation of a peer to peer chat program with a server for assigning connections in c++?

I've been interested in creating a proof of concept chat program for a while using C++. I have given the idea a lot of thought and even wrote down the beginnings of how I would design the system, but I have hit a barrier in my thinking when it comes to the implementation. I want to know what an implementation of a peer to peer chat clie...

Scaleability of TCP keep-alive

Consider a large scale, heterogeneous network of various devices. These devices are providing services to others on the network in a peer-to-peer fashion. The mechanism used to track service availabilty across all nodes is currently using TCP sockets marked as keep-alive, usually for the duration the node is online. This leads to ever...

Python Library/Framework for writing P2P applications

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. ...

Erlang Hash Tree

Hello Everyone, I'm working on a p2p app that uses hash trees. I am writing the hash tree construction functions (publ/4 and publ_top/4) but I can't see how to fix publ_top/4. I try to build a tree with publ/1: nivd:publ("file.txt"). prints hashes... ** exception error: no match of right hand side value [67324168] in function ...

An algorithm for distributed or decentralised reputation/trust

Does anyone know of an algorithm for computing how much you 'trust' another user (their reputation) in a decentralised system. Sites like this one use a centralised authority to track reputation points, but when you can't trust an authority to maintain this list impartially, or the infrastructure doesn't exist, how can you rank your pee...

where can I find iphone sdk 3.0 GameKit tutorials for developing P2P applications?

Hello, I'm starting to develop a p2p applcation for the iphone sdk 3.0. But I'm finding it hard to find good code examples for the bluetooth api. Anyone knows where I can find this info for newbies? thanks!!! ...

NAT Traversal

I am trying to build a peer to peer application. I would like to know how I can accomplish nat traversal in c++. Is there any good library in c++ for this. Or any coding examples, books, links.... anything. ...

How to test iphone p2p aplications?

Is there a way to test iphone OS 3.0 p2p applications? Can I run multiple iphone simulator instances? Aperantly no. Any help? ...

Is it posible to Build & Run on TWO iPhones/iPods at once?

When I connect two iPhones at the same time to my computer and Build and Run a project the app only installs and plays on one of the devices. Now, with the iPhone 3.0, that supports bluetooth peer-to-peer connectivity, to test a multiplayer project you have to install and run it on two devices at the same time. It would be very helpful ...

Bittorrent Peer Wire Protocol implementing in Java

I have a couple of questions regarding the Bittorrent Peer Wire Protocol. I am trying to implement it in Java using this spec. In Peer Wire Protocol section it says that all integers are four byte big endian values. AFAIK java uses big endian. Does that mean say if i want to send a choke message choke:<len=0001><id=0> Do i just write ...

How to implement a secure distributed social network?

I'm interested in how you would approach implementing a BitTorrent-like social network. It might have a central server, but it must be able to run in a peer-to-peer manner, without communication to it: If a whole region's network is disconnected from the internet, it should be able to pass updates from users inside the region to each o...

error: expected specifier-qualifier-list before 'GKPeerPickerController

I keep getting this message (in the title). Just take a quick look at my code if you want to see what I'm doing. I've just started implementing the Peer Picker, so I'm not completely done yet. I just need some advice/help in the first part. The error shows up in the .m file between the two #import statements, which means it has to be som...

Simple peer to peer network library for .NET

I have a server application that needs to find and exchange small amounts of data with other instances of itself on a local LAN. This is not a critical piece of the application. It must be done peer to peer without a central server or advance configuration. Are there any existing libraries that do something like this? EDIT I shoul...

iPhone - how is data transferred in P2P

Hi I am trying to implement a P2P application. What I try to do is transfer a custom NSObject class's data between the devices. I am not able to figure out when the "receivedData" method is invoked by GKSession. Here's what I've done The usual connection and showing a dialog box with peers When the app receives a state change for a p...

Detect the specific iPhone/iPod touch model

I am making a game that utilizes the peer-to-peer bluetooth capabilities of the iPhone (and probably the iPod touch 2nd generation). However, to stop the users from trying to play a multiplayer on an iPod 1st gen and iPhone 2G I need to check for the specific device model. [[UIDevice currentDevice] model] will only tell me if the device...