p2p

Connect two users using server

Hello, How can I connect two clients connected to TCP server so they will be able to send packets to each other (they don't have public IP)? ...

Has anyone used Juxtapose? How good is it?

I'm thinking about using Juxtapose for a simple peer-to-peer game. How good is Juxtapose? How complicated is it? ...

Writing binary data to middle of a sparse file in Python

I need to compile a binary file in pieces with pieces arriving in random order (yes, its a P2P project) def write(filename, offset, data) file.open(filename, "ab") file.seek(offset) file.write(data) file.close() Say I have a 32KB write(f, o, d) at offset 1MB into file and then another 32KB write(f, o, d) at offset ...

Working example of NetStream.videoSampleAccess?

I'm currently building a browser-based application using Stratus. So far everything is working fine and I understand how it all works. The problem is when I try to manipulate the pixel data of the incoming remote video stream using BitmapData.draw(). What happens is that I get a sandbox security error, which is understandable. To solve...

Communicating between two smartphones without using a Cellular Tower - Peer to Peer

Lets say I have 2 mobile phones which are 50 meters away from each other and I would like to send a very small packet of data from mobile-A to mobile-B, without using any communication to cellular tower. To make it simpler, I would like to build an app which implements a Peer to Peer connection for 2 mobiles in the same radius (in the s...

Creating a P2P / Decentralized file sharing network

Hey all, I was wondering where I could learn more about decentralized sharing and P2P networks. Ideally, I'd like to create something to help students share files with one another over their universities network, so they could share without fear of outside entities. I'm not trying to build the next Napster here, just wondering if this...

What's the technology behind live stream sites?

It's amazing to notice that live stream sites like doitlive.tv can deliver videos on very low bandwidth (as low as 25kbps) home connection. Could someone explain me the technology behind such sites and how they managed to deliver under such low bandwidth? ...

Is Flash the only option for browser-based video-conferencing?

To display a P2P video chat / screen-share session in the browser are we limited only to Flash? I think there are HTML5 solutions 'in the pipeline' but I've no idea of timescales. Do you know of any flash alternatives? ...

Screenshots taken contain only black pixels

Why do I receive a black screen when using the following code to take a screenshot every 20 milliseconds and transmit it to a peer over an encrypted connection? (I am aware that 20 milliseconds is a bit fast of a refresh rate, but it seems that is not the problem. The processor and network can keep up quite well with the refresh rate, th...

P2P programing in C - Trying to implement a Bittorent Client using C

Hello, Network Programming classes have begun for us in the college and I too have been giving it a lot of reading for the past one month. Now, when I have understood the OSI and other reference models including how various protocols like FTTP, HTTP, POP3, P2P etc works; I would like to apply my theoretical knowledge into practise. S...

setting up iPhone P2P only over bluetooth and without GKPeerPickerController

I want to use a custom interface to connect with other iDevices in a p2p game. I know I can either use GKSession and GKSessionDelegate or use the lower level Bonjour browsing. But both of them will search for devices both over bluetooth AND wifi. I want to list only bluetooth devices. I know this was answered in the past as impossible, ...

iPhone and anyother Smartphone peer-to-peer communication over bluetooth

Hi, i want to build a simple bluetooth chat program that can do a 2 way chat with 2 mobile devices. i know that i can use gamekit to develop such application for iphone and ipod touch. But i want to know is, is it possible for other smart phones (running my application) to discover and communicate with ipones and other devices as wel...

Design of a Decentralized Twitter

Twitter is a popular social networking service where users can write short messages in a one-to-many fashion (you can read more about it at Wikipedia). I've been reading an interesting article by Alex Payne (former API Lead at Twitter), The Very Last Thing I’ll Write About Twitter, where he argues for a decentralized one-to-many communic...

Are Multi-Agent Systems just hype?

As a researcher I am curious to hear what people think of Multi-Agent Systems if of course you came across the whole idea. Do you believe there is something more in there than just a hype and another buzzword? Can you see any potential uses in business or everyday computing? Or do you think that we can already achieve everything MAS has ...

Threads for peer to peer communication

I am trying to make a multi-player network game. Each player is represented by a rectangle on the screen. I am using OpenGL for the graphics and also the user input (commands like MOVE-LEFT, MOVE-RIGHT etc ) will be handled by it (or GLUT or sumthing). I have the following architecture for the game. There are 4 players(nodes) in the g...

Can Silverlight use the LAN without an internet connection?

I understand that trusted silverlight applications can communicate with each other over the LAN connection (peer to peer). Can they do this without an internet connection once installed out of browser? Do they need to first download some sort of Access Policy? If not, is there some alternative way of doing this, perhaps with some kind...

Can lidgren-network library connect directly peer to peer given both IP addresses.

I am using lidgen-network library 3 to try and create a peer to peer connection. I am new to network programming which is why i'm using this library. Using the DiscoverKnownPeer() function i have been able to connect within my network. What i have read online is that i need to do a NAT punchthrough which requires a running server that ...

opensource java framework for P2P

I want to distribute the files in network in quick time.Consider that my network has 100 PC. 1 PC will act as server.Server will hold all files.Now if server wants to send file to certain number of pcs in network then it should happen in quick time. So i am using following strategy : Server sends command all intended pcs to get files...

rtmfp capture incoming stream

Since the 10.1.0 flash player, it is pretty easy to implement a live streaming multicast system using rtmfp and stratus. However, it seems there is a unfixed bug when trying to manipulate the streaming data from client side, say, save the streaming data to hard disk. Normally, the stream publisher should have the ability to specify the p...

Is there an alternative to JXTA for Java P2P frameworks?

My team is having trouble with a project using JXTA. Is there another framework for P2P networks java? ...