Jinlin Chen

I want to write a little tool for logging PNRP cloud state changes.

Are there any events that I can listen to

or there are some other way to do it..



Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Shalini Joshi MSFT

Hi Jin,

Try posting this question on our Peer-Peer blog site (that includes PNRP) here: http://blogs.msdn.com/p2p - Note that PNRP is a totally separate Windows P2P technology and is not part of WCF or Peer channel - We (peer channel) come from the same team and build one of our name resolution solutions on top of PNRP- so although we might help with troubleshooting sometimes, our area of expertise is primarily Peer channel Smile.

In the meanwhile, one of our PNRP team members should be able to help you out here.

Just out of curiosity, how are you using Peer channel

Thanks,

Shalini.






Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Jinlin Chen

Oh, ok.

Yea, I wasn't able to find a good place to post those question.

I'm using peer channel to discover peers(multi-cast) and then establish direct connection to send binary data/string(uni-cast).

Thanks.





Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Pritam De

Hi,

Thanks for your interest in PNRP.

There is a NSP interface to get the notification for cloud change.

Please let me know if you need any more information.

Thanks,

Pritam




Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Jinlin Chen

Thanks for the reply.

With your hint, I was able to find this link (Receiving Notifications by Using WSANSPIoctl)

http://msdn2.microsoft.com/fr-fr/library/aa450130.aspx

that's closest to what I want, but it's for win CE through.

so just to confirm it, Is it what you have in mind





Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Pritam De -MSFT

That is correct. Please let me know if you have any issue using that API.

Thanks,

Pritam






Re: Windows Communication Foundation (Indigo) Is there a PNRP cloud state change event?

Jinlin Chen

Thanks.