How to make my android app to get my php server's IP address?
Example, android app sending broadcast message. Then my server listen that message and send the server's ip address to the android app.
Phone ----> Send broadcast message for requesting IP Address
Server <----- Receive the message
Server -----> Send the IP Address information to phone
Phone <---- Receive the information and save the server's IP Address. Finish
I found JmDNS but, my server is PHP not Java. Or, there is a trick or solution the do that job?