Re: RFR: 8029607 Type of Service (TOS) cannot be set in IPv6 header

2014-06-25 Thread Michael McMahon
On 25/06/14 13:09, Alan Bateman wrote: On 25/06/2014 12:21, Michael McMahon wrote: Could I get the following change reviewed please? http://cr.openjdk.java.net/~michaelm/8029607/webrev.1/ This mostly looks good to me. I assume you have run the :jdk_nio tests and also run them with -vmoption:

Re: RFR: 8029607 Type of Service (TOS) cannot be set in IPv6 header

2014-06-25 Thread Alan Bateman
On 25/06/2014 12:21, Michael McMahon wrote: Could I get the following change reviewed please? http://cr.openjdk.java.net/~michaelm/8029607/webrev.1/ This mostly looks good to me. I assume you have run the :jdk_nio tests and also run them with -vmoption:-Djava.net.preferIPv4Stack=true to make

RFR: 8029607 Type of Service (TOS) cannot be set in IPv6 header

2014-06-25 Thread Michael McMahon
Could I get the following change reviewed please? http://cr.openjdk.java.net/~michaelm/8029607/webrev.1/ It adds support for the IP_TOS socket option to ServerSocketChannel (and ServerSocket). This means that the type of service/traffic class can be set on a server socket and therefore the optio