?
Solved

How do you force the use of IPv6 in a .NET P2P Application?

Posted on 2014-07-21
5
Medium Priority
?
462 Views
Last Modified: 2014-07-26
It is relatively straightforward to create a P2P application using .NET 4.5 but I cannot figure out how to force this type of application to use IPv6 over IPv4.  I have attempted to created an "old school" TCP application as well as one based on WCF but, in both cases, the application uses IPv4.

To be upfront, I do not need to use .NET - what I need is an application that runs in a peer, non web-based, manner that will ideally communicate either through IPv4 or IPv6 and within which I can control which version of IP is being used.  My company is providing a new type of communications security that works great on IPv4 (and UDP) but we really need to test out IPv6.

In fact, given that we are now running across Linux/Unix and Windows, a Java application would be preferable but I cannot find anything to that end either.

Can somebody possibly point me in the right direction?

Thank you for your time.
0
Comment
Question by:ktola
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:ktola
ID: 40209334
As an additional note, I already tried the Windows Meeting Space option in Vista but it only works there and not on any other operating system.  Live Meeting (the Windows 7 equivalent) is supposed to run over IPv6 if that version is available on both ends but my tests show it always reverting back to IPv4 - even between two Windows 7 computers running on the same LAN...
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 40210751
in short: you would have to disable ipv4 on the computer, OR "intercept" any dns lookups that return ipv6 ip addresses and ignore any ipv4 address in your application...

so, using .net or not does not change a lot the picture here (though I have seen that for java, you can set a preference to ipv4 ...), it's more about "why" you want to force the ipv6...
0
 

Author Comment

by:ktola
ID: 40211596
I need to see if our communications security works on IPv6 and we need to run a range of tests to that end.  Does it work at all?  How does it work under load?  And so forth.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 40212581
then, just disable the ipv4 protocol during the tests on the relevant machines...
0
 

Author Closing Comment

by:ktola
ID: 40221618
Such a simple solution, I never thought of it!  Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Determining the an SCCM package name from the Package ID
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question