Re: DatagramChannel

2012-04-16 Thread Alan Bateman
On 16/04/2012 14:49, Salter, Thomas A wrote: [I'm not sure if I should post this to net-dev, nio-dev or something else, so I posted to both.] I have a trivial DatagramChannel program that fails on Windows if run with Java.net.preferIPv6Addresses=true. The exception and code are included be

Re: DatagramChannel

2012-04-16 Thread Alan Bateman
On 16/04/2012 14:49, Salter, Thomas A wrote: : I also wonder why it's even an option to specify an explicit address family. According to the Java Docs this is the only place in the entire JDK that doesn't just infer the family from an address. There's no other references to ProtocolFamily