Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A better way to detect senders on Local network #132

Open
plateaukao opened this issue May 9, 2022 · 1 comment
Open

A better way to detect senders on Local network #132

plateaukao opened this issue May 9, 2022 · 1 comment

Comments

@plateaukao
Copy link

plateaukao commented May 9, 2022

plateaukao@6e26952

This is a commit to replace original process of ping a lot of IP addresses by using UDP multicast mechanism.
It's much faster for finding senders (within 1 second), and no need to use wait until timeout, neither using compute for an extra isolate.

@plateaukao
Copy link
Author

Another suggestion is that: after using UDP multicast, the sharik.json content can actually be sent out in the UDP datagram directly, there's no need to try the get sharik json step. This also saves time and reduce the code logic complexity.

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

No branches or pull requests

1 participant