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
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
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
  • 349
  • 2
  • 12
5
votes
1 answer

WebRTC: Why Offer needs audio or video option turned on/true for just DataChannel?

I'm trying to understand how WebRTC works, mainly for using only DataChannel for game-networking experience. And this is what I've made so far. It gather ICE cadidates. I have two questions. Does offer need to be done for gathering ICE? Why…
ElSajko
  • 1,612
  • 3
  • 17
  • 37
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

Why won't Xamarin Forms AspNetCore.SignalR client connect to server?

My Xamarin Forms Android application will not connect to my SignalR server. I've got a website in IIS which hosts a simple SignalR chat hub which I can connect to with a Javascript client, a Console app, and a WPF app, but this Xamarin Forms Android…
teeinep
  • 41
  • 1
4
votes
3 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…
Hass786123
  • 666
  • 2
  • 7
  • 16
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…
Bite code
  • 578,959
  • 113
  • 301
  • 329
4
votes
1 answer

Why only one side of peer connection gets remote stream

I have a problem where only one side of peer connection gets remote stream. For both cases I add stream before creating answer/offer. const peer = new RTCPeerConnection(servers); if (localStream instanceof MediaStream) { …
vardius
  • 6,326
  • 8
  • 52
  • 97
4
votes
1 answer

How to share data over local network with electron / express application?

I have an electron application that runs with express. I would like to be able to share data between users when they are both 'online' in the local network. I have looked into different peer to peer tools such as peerjs and simple-peer but I have…
Matthew Moran
  • 1,457
  • 12
  • 22
4
votes
3 answers

NPM peer requirements error

Apologies if this is a dumb question - I'm a complete Meteor Noob... I'm building an app using meteor 1.3.1 and the Socially tutorial as a reference as it does something very similar to what I need, but I keep seeing the same error in my console and…
Yon
  • 43
  • 4
4
votes
1 answer

How to use peer connection in torrent protocol?

I'm trying to understand how to correctly implement p2p communication for the torrent protocol. Specification is not clear on this account. If I, as a client, connect to a peer, then send the handshake, establishing communication, then I can send…
alex.49.98
  • 609
  • 5
  • 13
4
votes
1 answer

Web Audio API and WebRTC

Is it possible to getUserMedia... take the stream and process it with Web Audio API to run it through some filters and then send the processed audio to a peer using WebRTC? I have been scouring the web for such examples. I found plenty that use Web…
3
votes
0 answers

How to send bitcoin offline or on localhost using bitcoinj liberary

I am developing a POC application where I will have multiple bitcoin wallets of different users. I am looking for any way to send bitcoin from one wallet to another wallet on localhost itself, without using network to avoid network fees. For better…
Abhishek
  • 648
  • 7
  • 8
3
votes
2 answers

How fix "rpc error: code = Unknown desc = access denied: channel [mychannel] creator org [Org1MSP]" error in Hyperledger Fabric

Currently I am using Hyperledger Fabric 1.4, and I am trying to modify the basic-network. I am trying to add an org2 with one peer. Whenever I try to invoke the chaincode from the peer on the second organization (Org2) I get the following…
3
votes
2 answers

Peer exit immediatly after starting with "fatal error: unexpected signal during runtime execution" with Fabric1.4 on Ubuntu18.04

I'm using Fabric v1.4 on Ubuntu 18.04.02LTS. I installed everything on this machine this week following the tutorials, so I got the Samples, Binaries and Docker Images of v1.4 (latest), like: hyperledger/fabric-peer 1.4.0 …
1
2
3
20 21