Skip to content

scan all available network interfaces for broadcast addresses#19

Open
bakatrouble wants to merge 2 commits intoarsi-apli:masterfrom
bakatrouble:feat/dynamic-broadcast-addresses
Open

scan all available network interfaces for broadcast addresses#19
bakatrouble wants to merge 2 commits intoarsi-apli:masterfrom
bakatrouble:feat/dynamic-broadcast-addresses

Conversation

@bakatrouble
Copy link
Copy Markdown

@bakatrouble bakatrouble commented Nov 24, 2024

My router has the broadcast address on the subnet-specific address (10.0.255.255) and does not handle 255.255.255.255 at all, so I fixed that.
My IDE cannot edit NetBeans form files, where the code was inserted, so it possibly would have to be moved there too.
I barely know Java, so my solution might not be optimal, the method is taken from here: https://stackoverflow.com/questions/29238644/how-do-you-get-hosts-broadcast-address-of-the-default-network-adapter-java
I also experience a huge startup delay while the app sends broadcast packets on all 7 interfaces on my PC, not sure what can be done about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant