You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending to Endpoint.broadcast() is equivalent to IPV4 255.255.255.255, but trying to send to a subnet broadcast address (e.g. 192.168.1.255 for a subnet of 255.255.255.0) using Endpoint.unicast() throws permission denied/file descriptor Socket Exceptions on Android.
Directly using RawDatagramSocket allows setting RawDatagramSocket.broadcastEnabled=true which is required for sending to a subnet broadcast address.
Either expose the broadcastEnabled field for the Endpoint.unicast() constructor,
or expose the address field for the Endpoint.broadcast() contructor.
The text was updated successfully, but these errors were encountered:
Sending to
Endpoint.broadcast()
is equivalent to IPV4 255.255.255.255, but trying to send to a subnet broadcast address (e.g. 192.168.1.255 for a subnet of 255.255.255.0) usingEndpoint.unicast()
throws permission denied/file descriptor Socket Exceptions on Android.Directly using RawDatagramSocket allows setting
RawDatagramSocket.broadcastEnabled=true
which is required for sending to a subnet broadcast address.broadcastEnabled
field for theEndpoint.unicast()
constructor,address
field for theEndpoint.broadcast()
contructor.The text was updated successfully, but these errors were encountered: