commit | 49f2d45b30c55a4e55dd19886b1c0ed7ba23fc52 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Tue Jun 02 13:24:11 2015 +0100 |
committer | Neil Fuller <nfuller@google.com> | Mon Jun 08 15:31:08 2015 +0100 |
tree | ca11c717031e99d78f5a4e284a9b9b0594319f6b | |
parent | e20cd5b3b0049d5cefc80be4785bad42dc29b214 [diff] |
Avoid binding a DatagramSocket before setReuseAddress The API docs suggest the behavior of setResueAddress is undefined if performed after a socket bind. In reality Android can cope with it but it is easier to stop relying on that than make excuses. Bug: 15413832 Change-Id: Ic4c19d58b410e7af9019a1727dc2b7b94e9fb81b