p2p

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

自古美人都是妖i 提交于 2019-12-04 01:48:07
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. If you had both the IP's and they were both routable, it should be possible. I'm not sure though if the IP's given out by the 3G network are routable. If you are using WIFI, the IP you get is almost certainly not routable. Assuming you have a routable IP though, it should be possible. The

No P2P in Windows Metro applications?

北慕城南 提交于 2019-12-03 14:16:06
In the "A .NET developer's view of Windows 8 app development" session at BUILD, the lecturer mentions that only the client-side WCF features are exposed in the Metro profile, we cannot create a server. ( http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-930C?format=progressive @ ~34:00) Does this mean that direct peer to peer communication is not possible for Metro applications, and any data exchanged between 2 users over the internet will always have to actually travel through a non-metro-style application? Access to sockets is controlled by the "Internet (Client & Server)" capability, if

P2P network games/apps: Good choice for a “battle.net”-like matching server

拈花ヽ惹草 提交于 2019-12-03 13:23:30
问题 I'm making a network game (1v1) where in-game its p2p - no need for a game server. However, for players to be able to "find each other", without the need to coordinate in another medium and enter IP addresses (similar to the modem days of network games), I need to have a coordination/matching server. I can't use regular web hosting because: The clients will communicate in UDP. Therefore I'll need to do UDP Hole Punching to be able to go through the NAT That would require the server to talk in

Are there any mature P2P frameworks/libraries in C#? [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-03 12:21:34
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am looking for a reliable P2P framework or library, preferrably natively written in C#, but can also work with something C# can

Android, NSD/DNS-SD: NsdManager unreliable discovery and IP resolution

♀尐吖头ヾ 提交于 2019-12-03 12:21:32
问题 In the course of the last weeks, Android's NSD implementation is making me go mad: From a user's point of view, the following problems arise: Devices discover each other in a completely non-deterministic fashion. If I launch my NsdManager -based app, it works more or less if only two devices are involved. If a third device joins, it will seldomly discover the first two , and the first two will not see the third. If I exit the apps (they gracefully unregister the NSD listeners) and restart

What's so hard about p2p Hole Punching?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 11:39:57
问题 I am trying to experiment with some p2p networking. Upon doing some research, one of the biggest obstacle I learnt is "What if a client is behind a NAT/Firewall" , later on I discovered about Hole Punching but that it is not always guaranteed to work. As far a I understand, I don't understand why it might fail, This is what I know so far: Based on the diagram above, this is how I understand how a successful connection can be established. Alice joins the network (1) by creating connection to a

UDP Hole Punching help

有些话、适合烂在心里 提交于 2019-12-03 09:20:14
I'm trying to add networking over the internet to my game, using Peer to Peer. I have already implemented a LAN only version, which uses .NET's peer to peer classes to connect within the local network. I realized I need to use UDP hole punching in order to establish a connection to other clients that are behind a firewall. This is how I have started to implement it: The server is a HTTP server using very simple PHP scripts to get the job done. register name on server, sending the private ip address and port as a GET variable when the server gets a registration request, it will save the public

Looking for some good books/resources on understanding Bittorrent? [closed]

十年热恋 提交于 2019-12-03 09:05:23
Looking for some good books or technical resources for a detailed understanding of how Bittorrent works? It would probably involve books on Network programming, P2P programming, and other topics. The first place to look would probably be BitTorrent.org . It lists the standard specification as well as a lot of the extensions that have become de facto standards (most of which have been developed by µTorrent or Azereus). A thorough guide can also be found here , though it might not be as up-to-date as the first link. Keep in mind that most of the complexity with bittorrent relates to the client

Browser to browser communication without a server?

笑着哭i 提交于 2019-12-03 09:04:21
问题 Is there any possible way to have browsers communicating to each other over lan/wan without the use of a server (direct peer-to-peer)? 回答1: Looks like there may be hope on the horizon: http://www.w3.org/TR/webrtc/ 回答2: IIRC, Opera released some kind of addition to their browser that embedded a webserver for just that functionality: http://unite.opera.com/ Not sure it really went anywhere, but I think its time will come. 回答3: In pure HTML/Javascript? Probably not. To my knowledge, there's no

HTML 5 Peer to Peer Video Possibilities? [closed]

独自空忆成欢 提交于 2019-12-03 08:23:22
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. jmort253 Check out Ericcson Lab's blog on HTML5 Peer to Peer Conversational Video . They have a demo of a WebKit build that can establish peer to peer video chat connections using HTML5 and a browser. http://swarmplayer.p2p-next.org/ adds a P2P transport protocol to Firefox that allows <video src="p2p://" > functionality. P2P transport is BitTorrent compatible. According to