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:
Trustin Lee 2009-08-12 02:28:30 +00:00
parent 2ab6e4b5b0
commit 0879d2bbbe

View File

@ -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);