IP Multicast Channel
dp_connect ipm -group ipAddr
-myport myPort -ttl numHops
IPM is the multicast version of UDP. It allows any
number of machines to join a group and if a message is sent to
the group address, all the machines will hear it.
- ipAddr is the IP address of the group.
This must be an multicast address in the range of
220.127.116.11 to 18.104.22.168.
- myPort is the local port and is optional.
- numHops is the Time To Live value. The
multicast packets will only cross numHops-1
routers after which they are discarded by the
router. To keep all multicast data on the local
subnet, use a ttl value of 1. Proper netiquette
maintains that this number be as low as possible.
It is optional and defaults to 1.
One can add and drop IPM group memberships using the
fconfigure -group command. See below for examples and please note
the use of the plus and minus symbol to signify add or drop. An
IPM channel can be a member of any number of multicast groups
(although it is usually limited by the OS to 20) so it is not
necessary to drop a group in order to add a new one.
- dp_connect ipm -group 22.214.171.124
- dp_connect ipm -group 126.96.36.199 -ttl 3
- dp_connect ipm -group 188.8.131.52 -port 1905 -ttl 255
- fconfigure $ipmChan -group +184.108.40.206
- fconfigure $ipmChan -group -220.127.116.11