Solved

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

Posted on 2014-07-21
5
436 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 500 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IP Address -- lookup location ? 4 281
Windows Folder Permissions 9 131
Review of a VPN cert policy 4 58
Java pass by reference 3 69
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

738 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