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

Review MulticastLock usage on Android hello sample #234

Open
pepone opened this issue Jan 9, 2025 · 0 comments
Open

Review MulticastLock usage on Android hello sample #234

pepone opened this issue Jan 9, 2025 · 0 comments
Labels
Milestone

Comments

@pepone
Copy link
Member

pepone commented Jan 9, 2025

According to the doc this is required to allow application to receive multicast packages. We acquire it upon starts and never release it.

I think this might be only required when IceDiscovery is enabled in the sample application, and it would be better to acquire/release it when IceDiscovery is enabled/disabled.

WifiManager.MulticastLock lock = wifiManager.createMulticastLock("com.zeroc.hello");
lock.acquire();

@pepone pepone added the android label Jan 9, 2025
@pepone pepone added this to the 3.8.0 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant