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

316 questions
44
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
  • 114,585
  • 152
  • 739
  • 1,270
24
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
  • 623
  • 4
  • 10
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,935
  • 28
  • 121
  • 203
14
votes
2 answers

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
  • 233
  • 1
  • 3
  • 10
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,503
  • 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…
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
  • 783
  • 5
  • 10
  • 24
7
votes
3 answers

how to get Ip address of client after connection is established in python socket programming?

I wrote a socket program to send a file and receive a string from socket In which I specified the client(wrote the ip address of client) I want to get that client address dynamically, I tried .getpeername() function but getting error I tried…
Lucifer
  • 175
  • 1
  • 1
  • 8
7
votes
2 answers

"unknown ca" with self-generated CA, certificates and client/server

I'm writing a custom client & server that I want to communicate securely over the public Internet, therefore I want to use OpenSSL and have both ends do peer verification to ensure that my client isn't mis-directed by a MITM, and likewise that an…
dgnuff
  • 3,195
  • 2
  • 18
  • 32
7
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
  • 9,344
  • 11
  • 55
  • 78
6
votes
1 answer

How to connect to a host with peerjs?

I'm trying to use peerjs to connect an host with a client. I have two files (one for the host, one for the client). The host will generate a peerId which the client is using to connect to him. It's basically the tutorial from here. host.html const…
Lars Flieger
  • 2,421
  • 1
  • 12
  • 34
6
votes
0 answers

Is it possible to override WebRTC connection timeout?

I have implemented WebRTC calls in my project, When the internet got disconnected then WebRTC throws a disconnected state immediately and Closed/Failed state after 10/15 secs. Can I override these 10/15 secs timeout to 30secs? Is it possible?
Mohan K
  • 464
  • 5
  • 18
6
votes
1 answer

Is it possible to open a port in Javascript for communication on the network?

I saw that Socket.IO and Websockets usually require NodeJS or similar but don't run on clients. Is there any possible way to open a port for accepting communications using JavaScript? So devices can talk to each other on a network, peer2peer (acting…
Kevin Van Ryckegem
  • 1,915
  • 3
  • 28
  • 55
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…
Carl Larsson
  • 61
  • 1
  • 3
1
2 3
20 21