Link to home
Start Free TrialLog in
Avatar of ktola
ktola

asked on

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

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.
Avatar of ktola
ktola

ASKER

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...
Avatar of Guy Hengel [angelIII / a3]
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...
Avatar of ktola

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ktola

ASKER

Such a simple solution, I never thought of it!  Thanks!