On multihomed hosts, you usually need to specify which interface you want to register on. That really should be a config parameter so the administrator can configure it.
Yes It is configurable. It can let kernel to determine the interface by using INADDR_ANY. However, If I want to set it manually, I am confused what interface should I use. the local interface such eth0 or multicast address? Moreover, the port number is considered along with the address?