public class EspduSender
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EspduSender.NetworkMode |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_MULTICAST_GROUP
default multicast group we send on
|
static int |
DIS_DESTINATION_PORT
Port we send on
|
static int |
NUMBER_TO_SEND |
Constructor and Description |
---|
EspduSender() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.net.InetAddress> |
getBroadcastAddresses()
A number of sites get all snippy about using 255.255.255.255 for a bcast
address; it trips their security software and they kick you off their
network.
|
static void |
main(java.lang.String[] args)
Possible system properties, passed in via -Dattr=val
networkMode: unicast, broadcast, multicast
destinationIp: where to send the packet.
|
public static final int NUMBER_TO_SEND
public static final java.lang.String DEFAULT_MULTICAST_GROUP
public static final int DIS_DESTINATION_PORT
public static void main(java.lang.String[] args)
args
- public static java.util.Set<java.net.InetAddress> getBroadcastAddresses()