Monday, March 26, 2012 3:07 PM
I currently am running a WCF service/client app over the internet. When a client connects it registers its callback context on the server and the server can interact with other clients through their callback channels. On top of this, the service has an implementation of a CustomPeerResolverService and each client now has a netpeertcpbinding for the mesh and each client is aware of the mesh. I love how this works as the peers can 'talk' without having to open up ports on the firewall. What i would really like to accomplish is a direct connection between two peers. My attempts at using pnrp and system.net.peertopeer have failed but is it possible to leverage the p2p binding registered with the custompeerresolverservice and dynamically create the channels required for one on one communication over the internet.
Thanks in Advance,
- Edited by Meffy.NET Monday, March 26, 2012 3:22 PM
Monday, April 16, 2012 5:08 AM
I think you are having the same question as below post. so would you please reference to below post:
"Wcf over the Internet"
Also, I'd like to share you some artices related to this topic which may help you better understand P2P programming model:
1) Peer-to-Peer Programming with WCF and .NET Framework 3.5
2) How can I distribute a WCF Peer to Peer application over the Internet?