Questions tagged [peer]

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

In a peer-to-peer network, tasks (such as searching for files or streaming audio/video) are shared amongst multiple interconnected peers who each make a portion of their resources (such as processing power, disk storage or network bandwidth) directly available to other network participants, without the need for centralized coordination by servers.

Wikipedia: http://en.wikipedia.org/wiki/Peer-to-peer

283 questions
40
votes
6 answers

Getting "SocketException : Connection reset by peer" in Android

My app needs to contact the same device it is working on, via http://127.0.0.1/... (a localhost url). For some reason, about 50% of the times (and maybe exactly 50%) when I reach a website there with JSON content, I get the…
android developer
  • 106,412
  • 122
  • 641
  • 1,128
21
votes
5 answers

Peer-to-peer network over wifi in iOS

I've been at this for a few days now, and can't seem to find a solution. I want to create a peer to peer network over wifi on iOS. All open source code seems to be supporting running a server or being a client, but there's no code built to support…
Andrew
  • 15,489
  • 25
  • 116
  • 200
16
votes
3 answers

What does 'sdparta' stand for in a Firefox webRTC session description?

When generating offer and answer objects during webRTC signaling in Firefox, Mozilla added a pun about Session Description Protocols by returning answers and offers that say "THIS_IS_SDPARTA." Aside from being funny, does the 'arta' portion of…
BEVR1337
  • 494
  • 3
  • 9
13
votes
3 answers

How to make an android peer to peer without using intermediate server?

I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling. Any help would be…
Pawan
  • 1,495
  • 2
  • 19
  • 28
10
votes
1 answer

Hyperledger Fabric Composer - restricting access rights of system administrators

My question is on access control in hyperledger fabric composer. Assume you have a business network, in which you have the following participants: Sellers (Potential) Buyers A seller is an employee of a company that sells products to a buying…
10
votes
1 answer

Python Sockets Peer to Peer

I'm trying to make a simple Peer to Peer Network in Python 2.7. The problem is, I can't seem to be able to create a connection between two machines in which they both act as a server and a client. I can get it to work when one is a server and the…
user3566150
  • 193
  • 1
  • 2
  • 9
9
votes
6 answers

File Upload in Angular 4

when I'm trying to install "npm install ng2-file-upload --save" in my angular 4 application it throws UNMET PEER DEPENDENCY @4.1.0 UNMET PEER DEPENDENCY @4.1.0 `-- ng2-file-upload@1.2.1 and upload is not working my applications throws …
sandeep
  • 91
  • 1
  • 1
  • 5
8
votes
4 answers

Peer to Peer file transfer c#

Hey, I have been looking on google and I cannot seem to find anything about peer to peer transfer. Basically, I want to be able to send a file from my computer to someone else's computer. Does anyone know of any guides that can help me with…
Crazyd22
  • 763
  • 4
  • 10
  • 23
6
votes
2 answers

How to drop inactive/disconnected peers in ZMQ

I have a client/server setup in which clients send a single request message to the server and gets a bunch of data messages back. The server is implemented using a ROUTER socket and the clients using a DEALER. The communication is asynchronous. The…
6
votes
0 answers

How to build a network using peer connections of multiple peers?

I want to build a network among multiple peers using WebRTC datachannel. What is the best topology to be used for efficient communication and video conferencing? Now what am I doing? If 10 peers are alive, I am creating 10 peer connections at each…
kongaraju
  • 8,507
  • 9
  • 48
  • 75
5
votes
2 answers

Is zeromq the right solution for peer to peer video chat

I was wondering if my idea of zeromq is right? I was thinking of writing a peer to peer chat application using zeromq but as i read further into it zeromq seems to be more low level than what one would use (tcp sockets). Is zeromq good for writing…
Claire
  • 51
  • 1
  • 2
5
votes
1 answer

notifications push ios: Connection reset by peer

I’m trying to do a notifications system for apple devices, but I’m getting the following errors when I try to run it on the server: Warning: stream_socket_client(): SSL: Connection reset by peer in /home/empresa/public_html/simplepush/push.php…
4
votes
0 answers

Is is possible to list all devices connected to the same wifi network using simplepeer JS?

I'm creating a system that enables users to share files accross devices connected to the same wifi network. I would like to have a list of all connected devices so I can select which device to send to (Using simplepeer JS). I have already created a…
phi lo czar
  • 198
  • 11
4
votes
2 answers

How to make a kick feature in Python socket chat room?

This a socket chat room where clients can send messgaes to each other. I want a kick feature where the server can kick out certain people. I have managed to make it so that it kicks the desired user out but it is still kicking me out as well, this…
system123456
  • 606
  • 1
  • 4
  • 14
4
votes
1 answer

Is it possible to code an application that can detect and connect to peers without a central server? How?

Is it possible to code an application that can detect and connect to peers without a central server? How? I believe this is what some peer-to-peer applications do, but my knowledge in programming is much better than in networking. Let's say you want…
e-satis
  • 515,820
  • 103
  • 283
  • 322
1
2 3
18 19