Fixed issue: NETTY-207 The default datagram broadcast flag is different between transports
* Set the default broadcast flag of OioDatagramChannel to 'false'
This commit is contained in:
parent
2ab6e4b5b0
commit
0879d2bbbe
@ -75,6 +75,7 @@ final class OioDatagramChannel extends AbstractChannel
|
||||
|
||||
try {
|
||||
socket.setSoTimeout(10);
|
||||
socket.setBroadcast(false);
|
||||
} catch (SocketException e) {
|
||||
throw new ChannelException(
|
||||
"Failed to configure the datagram socket timeout.", e);
|
||||
|
Loading…
Reference in New Issue
Block a user