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.