Wish Add .GetBroadcastAddress into the Network library (like in B4J and B4i)

Peter Simpson

Expert
Licensed User
Longtime User
I've noticed that in B4J and also B4i one can simply use .GetBroadcastAddress to get the BroadcastAddress via the Network library, sadly there's no .GetBroadcastAddress in the Network library for B4A. My suggestion for more continuity between the package libraries would be for Anywhere Software to include the code in the link at the bottom of this post in the B4A Network library.

In B4J GetBroadcastAddress can be found under UDPSocket.GetBroadcastAddress
In B4i GetBroadcastAddress can be found under UDPSocket.GetBroadcastAddress

But oddly enough if one wishes to use GetBroadcastAddress in B4A, B4A developers must manually add the code in the link below.


I was just wondering is there a reason why GetBroadcastAddress is not in the B4A Network library already, I'm just asking?
If .GetBroadcastAddress is already in a B4A library, please let me know which one as I just can't seem to find it.


Thank you
 
Last edited:
Top