Questions tagged [pnrp]

Peer Name Resolution Protocol (PNRP) is a peer-to-peer protocol designed by Microsoft. PNRP enables dynamic name publication and resolution, and requires IPv6.

PNRP is a distributed name resolution protocol allowing Internet hosts to publish "peer names" and corresponding IPv6 addresses and optionally other information. Other hosts can then resolve the peer name, retrieve the corresponding addresses and other information, and establish peer-to-peer connections. (from Wikipedia)

Peer Name Resolution Protocol (Wikipedia)

Peer Name Resolution Protocol (MSDN)

23 questions
3
votes
6 answers

Brokerless Messaging C#

I have a number of WPF clients on the same corporate network. I want these clients to share messages with each other. I don't want to run a separate server process so a brokerless solution would seem best. I have considered using PNRP but this seems…
user630190
  • 1,142
  • 2
  • 11
  • 26
3
votes
0 answers

Using PNRP HostName to successfully host WCF service?

What I am trying to do is p2p chat app, fair and simple. It uses one program in multiple instances on one or multiple computers. So no specific "server/host" app. Also note that I am not using peer channel. So this is my service host inside the chat…
TheBojanovski
  • 137
  • 1
  • 7
2
votes
1 answer

Should I assign my WCF P2P app a Port?

I'm building a WCF P2P service using the PNRP functionality. I see that I can assign a port to the Bindings... but most of the examples do not. Is there a reason I should or shouldn't give it a port?
timothymcgrath
  • 1,318
  • 1
  • 9
  • 19
2
votes
2 answers

PNRP Global_ stuck on Alone

I have two installations of Windows 7. a 64bit version on my hard disk, and a 32bit version installed as a bootable VHD. on my the 64bit version, I can't get my PNRP Global_ cloud out of Alone state. on my the 32bit version, I can get it in Active…
asleep
  • 4,054
  • 10
  • 34
  • 51
1
vote
0 answers

.Net P2P solution for game developers (preferably XNA)

So, the title says pretty much all. I had tried PNRP, but I didn't find any way to make it work with TCP, only WCF (from what I understand, PNRP is made for WCF). So if all else fails, I guess I could make my game use WCF services, but I dont know…
TheBojanovski
  • 137
  • 1
  • 7
1
vote
1 answer

How does PNRP find other peers on the internet?

I'd like to know how PNRP manages to detect other peers in the Global cloud (which I assume is over the internet). I've read it uses "an architecture similar to distributed hash table systems", but that doesn't really tell me much. It seems to me…
Valyrion
  • 2,342
  • 9
  • 29
  • 60
1
vote
3 answers

PNRP stops working windows 10 1803

I had some code that uses PNRP to discover peers on network. Everything works fine since Windows 10 update 1803. public void Init() { try { _ServiceUrl = Dns.GetHostAddresses(Dns.GetHostName()).Where(address =>…
Mayhem50
  • 165
  • 2
  • 8
1
vote
0 answers

Windows Peer Near Me (PNM) API In Windows 10 doesnt work?

We're trying to use Windows PNM API via .Net code using the following sample code: using System; using System.Net.PeerToPeer; using System.Net.PeerToPeer.Collaboration; namespace GetPeersNearMe { class Program { static void…
sternr
  • 6,216
  • 9
  • 39
  • 63
1
vote
1 answer

Does PNRP work on a LAN with no Internet connection?

So, I'm trying to make sense of WCF in general, and this MSDN chat client sample in particular. I have been testing with the configuration below, and it seems to be working fine. However, what will happen if the Internet connection is lost (or…
Eyvind
  • 5,221
  • 5
  • 40
  • 59
1
vote
1 answer

Joining a PNRP cloud on my local subnet

I'm experimenting with PNRP, just using netsh to execute basic commands to register peers on my machine. I am able to add multiple peers on my machine by opening multiple instances of a command prompt, and entering the following commands netsh p2p…
mclark1129
  • 7,532
  • 5
  • 48
  • 84
1
vote
0 answers

Troubleshooting p2p Resolve

I'm trying to register a peer name using code, and be able to resolve the peer on another machine. My first attempt is to get it working on my own network, but want to get it working globally. Update: Seems to be failing to add a registration. I…
user117499
1
vote
1 answer

PNRP + dont see Global_ on Windows 7

Im trying to test out PNRP in a simple app that either registers or resolves. On my Vista machine when i run 'netsh p2p pnrp cloud show list' .... I see Global_ When i try this from my Windows 7 machine i do not see Global_ i only have…
schmoopy
  • 6,419
  • 11
  • 54
  • 89
1
vote
2 answers

PNRP - How does it work?

Sorry if this seems like a stupid question but im actually having a hard time finding a straight answer. I know PNRP is MS's technology for implementing peer-to-peer but how does it actually work - i mean im assuming when you register your address…
schmoopy
  • 6,419
  • 11
  • 54
  • 89
1
vote
1 answer

WCF Peer to peer chat

I wrote some code for a WCF P2P chat program.
Ries
  • 2,844
  • 4
  • 32
  • 45
1
vote
0 answers

P2P connection mitigated by server

I'm writing a system in C# that is composed of 1 desktop application (I call it the "host") connected to multiple "client" applications over the internet. The "host" should be able to retrieve status information (at the very least whether the client…
1
2