With the macOS equivalent API, I don't have to pass a list of addresses for where the server is, but rather, it automatically advertises on all ports, without me having to specify. (And provides no means to specify it if I wanted to...)
Having a way to do this with mdnsjava would be nice, because I can't really be sure whether network interfaces will come and go throughout the lifetime of the service, and re-registering services when that happens is a bit of a hassle.
With the macOS equivalent API, I don't have to pass a list of addresses for where the server is, but rather, it automatically advertises on all ports, without me having to specify. (And provides no means to specify it if I wanted to...)
Having a way to do this with mdnsjava would be nice, because I can't really be sure whether network interfaces will come and go throughout the lifetime of the service, and re-registering services when that happens is a bit of a hassle.