commit | 3128b30724eb245d2e6a6a776a038b2fea137108 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Nov 28 11:16:56 2016 +0000 |
committer | Yi Kong <yikong@google.com> | Tue Nov 29 14:07:15 2016 +0000 |
tree | 9f6e20748451a0df38f1cc1c9c107b66bb4e7cef | |
parent | 90648eb7c3bad7a31e5e162479bb06566bd5c499 [diff] |
Add a test for IP_MULTICAST_ALL for DatagramSocket This option defaults to 1 for AF_INET dgram sockets and 0 for AF_INET6. Android uses AF_INET6 sockets and don't need to explicitly set the option, but it is better to have a test to assert this behaviour. Test: org.apache.harmony.tests.java.net.DatagramSocketTest Change-Id: I367be7f2a1bc7fd4836a132f16ecfd3ca65b930a