public final class Udp.SO$.Broadcast extends java.lang.Object implements Inet.SocketOption, scala.Product, scala.Serializable
Inet.SocketOption
to set the SO_BROADCAST option
For more information see DatagramSocket.setBroadcast(boolean)
Constructor and Description |
---|
Broadcast(boolean on) |
Modifier and Type | Method and Description |
---|---|
void |
beforeDatagramBind(java.net.DatagramSocket s)
Action to be taken for this option before bind() is called
|
boolean |
on() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterConnect, beforeConnect, beforeServerSocketBind
public boolean on()
public void beforeDatagramBind(java.net.DatagramSocket s)
Inet.SocketOption
beforeDatagramBind
in interface Inet.SocketOption
s
- (undocumented)