0

I'm new to network programming. I want to traverse NAT using Stun. I use the Stun client application defined in code project Stun Client. It returned me a mapped IP and port. But I don't know how to use the IP and port for P2P communication in C#.NET. Please help me. Any help will be appreciated.

Smi
  • 13,850
  • 9
  • 56
  • 64
SR Dusad
  • 73
  • 1
  • 4
  • 13

2 Answers2

0

If you're looking for some general background to get you started, look at this related question:

Community
  • 1
  • 1
Colin Pickard
  • 45,724
  • 13
  • 98
  • 148
  • Thanks for your response. By reading the above link, it uses the PNRP for communication.and PNRP not works with symmetric NAT and the PeerCollabration is not works with windows XP. Users are behind different NATs and i want video conferencing between them.For text chat i used the jabber server. I want a solution like libjingle used by google.which works everywhere (even with symmetric NAT). Any help will appriciable – SR Dusad Apr 19 '10 at 12:43
0

HI all

we found that, we can traverse NAT using vs2010 (.net4.0) . there is a method AllowNATTraversal(bool value). set the value true for NAT Traverse. It uses Ipv6 adsdress for connectivity. You can get Ipv6 global address from teredo server by writing some comands in command prompt.

SR Dusad
  • 73
  • 1
  • 4
  • 13