This code can be used for discovering mDns device and to get the ip address for further communication.
Just open the app and hit on log console search for logging
with regex on to get the exact result.
For getting the Ip address and local DNS
message.getUsefullData().get(0)
for Complete Body
message.getUsefullData().get(1)
for DNS