-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
Description
In order to send broadcast messages we need to call setBroadcast() first.
However this method hangs and never returns!
protected void doInBackgroundGuarded(Void... params) {
UdpSocketClient client = findClient(cId, callback);
if (client == null) {
return;
}
try {
client.setBroadcast(flag);
// **** we never get there!
callback.invoke();
} catch (SocketException e) {
callback.invoke(UdpErrorUtil.getError(null, e.getMessage()));
}
}
I tested in Android emulator and with a Samsung Galaxy S8. Both running on Android API 28.
Any ideas what is going on here?
SN-luke