ip(A,B,C,D)
or an atom or string of the format A.B.C.D
. Options
processed:
- scope(+ScopeName)
- Name of the scope. Default is
subnet
. - subnet_mask(+SubNet)
- Subnet to broadcast on. This uses the same syntax as IPAddress. Default classifies the network as class A, B or C depending on the the first octet and applies the default mask.
- port(+Port)
- Public port to use. Default is 20005.
- method(+Method)
- Method to send a message to multiple peers. One of
- broadcast
- Use UDP broadcast messages to the LAN. This is the default
- multicast
- Use UDP multicast messages. This can be used on WAN networks, provided the intermediate routers understand multicast.
- unicast
- Send the messages individually to all registered peers.
For compatibility reasons Options may be the subnet mask.