public 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) |
boolean |
on() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterConnect, beforeConnect, beforeServerSocketBindpublic boolean on()
public void beforeDatagramBind(java.net.DatagramSocket s)
beforeDatagramBind in interface Inet.SocketOption