Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wcf net.p2p:// - does this work over the internet?

Tags:

.net

p2p

net.p2p

Does the net.p2p protocol allow peers to connect over the Internet (through NAT, Firewall, etc).

I understand that PNRP addresses this (thats fine if your using ipV6) but can this also be done when using a custom resolver? ie: when a peer registers in the cloud, does it just get back net.p2p://mypcName/endPoint or does the resolver/PNRP return something that allows the pc to be found behind the firewall?

Im having a really hard time finding good information on .NET's P2P solution - and most of its very old.. does anyone know if this is a viable technology or something that may be gone from .NET soon?

-edit- My Resolver would be publicly accessible, the peers are behind NAT/Firewall.

thanks in advance :-)

like image 958
schmoopy Avatar asked Feb 28 '23 23:02

schmoopy


1 Answers

It's all documented on MSDN

Use Microsoft's Peer Name Resolution Protocol which used Teredo tunnelling to solve the IP6/IP4 access issue. Or write your own CustomPeerResolverService (which is simple to do)

like image 53
TFD Avatar answered Mar 12 '23 19:03

TFD