p2p

No P2P in Windows Metro applications?

冷暖自知 提交于 2020-01-01 05:17: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

P2P library for C++ [closed]

爷,独闯天下 提交于 2019-12-31 08:28:56
问题 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 6 years ago . Is there any good cross-platform C++ library for P2P networking (preferably UDP but TCP would work also). Originally I planned to use

Direct TCP/IP connections in P2P apps

本小妞迷上赌 提交于 2019-12-28 16:12:06
问题 From a Joel's post on Copilot: Direct Connect! We’ve always done everything we can to make sure that Fog Creek Copilot can connect in any networking situation, no matter what firewalls or NATs are in place. To make this happen, both parties make outbound connections to our server, which relays traffic on their behalf. Well, in many cases, this isn’t necessary. So version 2.0 does something rather clever: it sets up the initial connection through our servers, so you get connected right away

P2P网络的概念

本秂侑毒 提交于 2019-12-28 02:57:26
P2P ( Peer-to-Peer )网络即点对点网络,是无中心服务器、依靠用户群(Peers)交换信息的互联网体系(图2-1),是分布式网络的一种。通常而言,该网络中各个节点之间的地位是对等的。与有中心服务器的中央网络 C/S 系统(Client-Server)(图2-1)不同, 点对点网络的每个节点既是客户端,也是服务器 。节点之间依靠相互间的连接进行信息交流,各节点共享它们所拥有的资源(如磁盘存储空间、网络带宽、处理器使用率等)来提供服务和内容。因此,当新节点加入网络时,整个系统的容量也相应增大。 图2-1 C/S网络模式和P2P网络模式 与 C/S 网络模式相比,P2P 网络尤其适用于共享文件:在 C/S 结构中,资源存储在一个中心服务器里,在固定的带宽下,请求下载的用户越多,平均下来每个用户的数据传输越慢。而对 P2P 网络而言,许多节点存储着同一份文件的副本,当有人需要下载它时,可以同时从多个节点进行下载,而自己已下载的文件,也可同时上传给其他正在下载的节点,因此网络越大,速度越快。P2P 网络充分利用了网络中其他对等节点的带宽,而不只是利用文件来源节点的带宽。 在共享文件方面的成功,使 P2P 网络广受欢迎,但是由于大部分共享的文件是流行音乐和电影,侵权的问题也使 P2P 网络饱受诟病。 在一个典型的 P2P网络中,数据可以随意复制,副本可以任意保存

Regarding p2p connection and c#

≡放荡痞女 提交于 2019-12-25 07:47:37
问题 i just want to know how two application interact with each other across the internet. how one send some message to other one because when IP is not fixed. please give me some coding tips by which a p2p apps connect other one across the internet when IP is not known. please help me in detail. 回答1: Before trying to get into implementation details and coding tips, you'd better learn how P2P networks work in general, what are possible architectures, and so on (start on http://en.wikipedia.org

How to download the same file distributed in different computers in Java

末鹿安然 提交于 2019-12-25 01:59:38
问题 I want to make a college project for sharing of files among different computers. Usually we have same file, for example, a movie on different computers among a local network in our college. So I want to download a file in different parts from these computers simultaneously so that download will be fast. I am making this application in Java. What should I read? I am using JXTA for peer-to-peer (P2P) sharing. Is this possible using JXTA? 回答1: It is possible to do this in JXTA. You need to split

peer 2 peer libraries to broadcast real time video using websocket?

心不动则不痛 提交于 2019-12-24 07:04:21
问题 First of all, is it a nice and successfull idea to use peer 2 peer to broadcast realtime video ? I know that it will make the application scallable and will allow more users to get the real time video without affecting the server much, but are there drawbacks performance-wise and video quality-wise ? Now the specefic question, my intention is to share realtime video, and then use peer2peer in the webclient level using websockets, are there any libraries that are used for this purpose? I know

How to implement Peer code i.e., Server and Client code in the same file using java Socket programming

余生颓废 提交于 2019-12-24 06:35:14
问题 Is it possible to write a program that serves both as a Server and a Client? Suppose I have three instances of the program P: P1, P2, and P3. In one use case, P2 requests file from P1. While P1 is serving the file to P2, P1 requests file form P3. P3 serves the file to P1. (At this point, P3 is able to upload/download from P1 or P2.) Conceptually, I should be able to do this by running the server part in a thread every time a request comes in. Is there a different approach to this? EDIT: I

What is the state of art on implementing a p2p message-broadcast network?

旧巷老猫 提交于 2019-12-24 06:22:09
问题 I'm aware a quick Google wields tons of results and the literature on this topic is very rich, and that is exactly the problem. Among the universe of possible solutions I'm not sure which specifically is the best, up-to-date choice for my specific needs. I'm trying to implement a p2p network over the internet with the only and one feature of broadcasting messages to online nodes. In order to connect to the network, you must be able to point to existing IPs. When you do, you discover some

How is it possible for a Hyperledger Sawtooth Validator node to have 'number of peers greater than the maximum connectivity' in the Sawtooth Network?

主宰稳场 提交于 2019-12-24 03:44:18
问题 Below statement is from this documentation. The network component continues to perform a peer search if its number of peers is less than the minimum connectivity. The network component rejects peering attempts if its number of peers is equal to or greater than the maximum connectivity. Question: As the documentation says, number of peers is equal to or greater than the maximum connectivity, If a node is allowed to have a 'maximum number of peers', say N, how can the 'number of peers' be