p2p

Semantic search in P2P networks

hi, we are doing a project that involves semantic search in P2P networks. Basically we want to do a file searching/sharing mechanism that semantically relates files based on the data. we are using RDF to represent the files' metadata. We are stuck with the database part. every peer has a local repository that it uses to store metadata. h...

Obtaining IP addresses in Bittorrent

I am trying to get a list of IP addresses serving or downloading a file. What I did was to contact a tracker like openbittorrent.com to get the following (as part of the scrape file): B%00%00%0C%5F%B1%B1l%CAGa%84S%CB%B0%9BG%84%3BE:0:1 Now, the long string in the beginning is the info hash. As a next step, I did this: http://tracker.s...

Help with making a C# P2P Chat Program

Hi everyone, I want to make a P2P Chat client, all I want it to do is to be able to send text across to each peer. I looked at a Chat Client from this example: http://www.geekpedia.com/tutorial239_Csharp-Chat-Part-1---Building-the-Chat-Client.html And am wondering if it can be converted to a p2p program? If so how can it be and can so...

Network communication across two private network

Hi All, I am trying to implement a peer to peer communication .. I use sockets for communication between them. I want to know if there are any ways i can use the same sort of communication when the two peers are behind two private Networks (They dont know each others public ip address.) I can think of a shared buffer in a well known l...

What is the cause of exception in wcf peer-to-peer service with callbacks ?

I've been playing around with WCF peer to peer, one way operation contract and callbacks. I have a following service: [ServiceContract(CallbackContract = typeof(ICodeFoundCallback))] public interface ICodeSearch { [OperationContract(IsOneWay = true)] void Search(string searchQuery); } public interface ICodeFoundCallback { ...

Apple iPhone SDK Peer Picker

How can I modify the iphone SDK Apple sample code 'GKTank' to support multiple peers? Ideally 4. I know GKit has a peer limit of 4, which is fine. What changes would I need to make to the source file 'GKTANK', so I can learn the process and adapt it to my own current app. Thanks. ...

Double linking array in Python

Since I'm pretty new this question'll certainly sound stupid but I have no idea about how to approach this. I'm trying take a list of nodes and for each of the nodes I want to create an array of predecessors and successors in the ordered array of all nodes. Currently my code looks like this: nodes = self.peers.keys() nodes.sor...

how do i make my own P2P software ?

how can i make my own napster ? which library are these p2p programs using ? i am not too familiar with the concept of socket programming. could you make p2p program using Qt4 ? i've been wondering about this question since the Napster days. how would you also go about creating the next "bitorrent" ? is this by using similar socket li...

How to create a direct upload script like pipebytes.com ?

Has anyone an idea how pipebytes.com works ? I need to implement similar system in PHP and I do not know how to start. The only thing I know is that it is possible to implement it :). Please help! ...

Silverlight P2P App (In Browser) - Will we get RTMFP?

Ok so from all my research I'm fairly positive P2P is not possible in Silverlight 4 (in browser). Flash can do P2P using Stratus/RTMFP which I believe uses UDP hole punching and a Stratus server to help initialize the connection. Is there any plans for Microsoft to add some kind of p2p rendezvous service in the future? Can we get a de...

c# peer-to-peer networking - getting around routers

I want to code a peer-to-peer like chat program in C#. I am trying to figure out how the networking would work. I know that the concept is that each peer is a client and a server at the same time. It can connect and be connected to. But my question is, how do you connect to a computer behind a router without the port being forwarded to t...

Easy bidirectional communication via P2P NetStream

I've been looking into the P2P support in Flash 10, using Adobe Stratus service. I have successfully been able to send data from one user to another, put my problem is that I haven't figured out how to send data back in some easy way (or as some kind of response to the first call). What I'm currently doing; First set up a connection w...

WCF App using Peer Chat app as example does not work.

I converted a VB .Net 3.5 app to use peer to peer WCF using the available Microsoft example of the Chat app. I made sure that I copied the app.config file for the sample(modified the names for my app), added the appropriate references. I followed all the tutorials and added the appropriate tags and structure in my app code. Everything ...

C++ Winsock P2P

Scenario Does anyone have any good examples of peer-to-peer (p2p) networking in C++ using Winsock? It's a requirement I have for a client who specifically needs to use this technology (god knows why). I need to determine whether this is feasible. Any help would be greatly appreciated. EDIT And I would like to avoid using libraries so...

HTML 5 Peer to Peer Video Possibilities?

Is there anything in HTML 5 that might allow peer to peer video ala Adobe Stratus and Flash 10? There's lots of cool possibilities with P2P video and it'd be nice to build such applications without having to rely on Flash. ...

How do I tell if a bonjour service is wi fi or bluetooth?

I am building an app that sends information between two iPhones. The app is working great but the one problem I am having is that I have no way of telling whether bonjour is choosing wi-fi or bluetooth to make the connection. I would like to allow the user to be able to choose which they prefer. Also, is there way to programmatically ...

How can i create my own video chat using Flash ?

Hello. I would like to create a video chat. no text, just 1-1 video, which is very simple. Is it possible with Flash 10? Does it cost any money to use Stratus ? Do you know if there something similar already out there ? Thank you. ...

What's the best way to test a P2P live streaming app?

Hey guys, I've been working on a P2P live streaming app and I'm having some trouble testing it properly. At the moment, I'm testing it using: 1) Another laptop + an external server 2) Multiple instances running on different ports Problem is: this is not exactly ready for production. Is there something like a simulator OR any of you ...

Could a Distributed Hash Table (DHT) be used for a dynamic web application? Another P2P design?

Could a Distributed Hash Table be used for a two-way web app with a pub/sub type application? I'm investigating building a forum type application but with a DHT architecture and P2P (although a central lookup server would be OK to improve performance). Think of a Gnutella/Kazaa type application on the client side but, rather than hittin...

How messengers (IM) works (listening) ?

My task is to write a Messenger program for both internal and external staffs, I actually made it. However, I thing this is really not a good approach by using the client software keep "check-mesg" from server. So I think I am just simulating the IM program. I want to make the client app become a listening server, and let user p2p talk...