Android Broadcast To 255.255.255.255 Not Working
I've been searching on the internet for some solutions o my problem, but I simply can't make the 255.255.255.255 broadcast work. String broadip = '255.255.255.255';
Solution 1:
In my case, instead of using global broadcast address
(255.255.255.255), use of Network layer broadcast address
(192.168.25.255 or 192.168.255.255 depends on your subnet) worked perfectly in UDP
broadcast. See this link for difference between them.
I had this same issue previously, THIS page suggests use of Network layer
broadcast address instead of 255.255.255.255
for Android UDP connections.
Post a Comment for "Android Broadcast To 255.255.255.255 Not Working"