I am trying to make an Android app that will open a datagram socket and pass data through it. It works great when my phones are connected to the Wi-Fi network that my router creates.
Now, if I create a Wi-Fi network by installing the Mobile Hotspot on one of the Android phones, the application on the Android phone, in which the hotspot is launched, receives data from other phones, but when I try to send the data, he said that the network unavailable ... I fully help with this ... can someone help me with this?
source share