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

How can I run mdns again after I do mdns.destroy(); #59

Closed
kingeaglewang opened this issue Sep 12, 2018 · 2 comments
Closed

How can I run mdns again after I do mdns.destroy(); #59

kingeaglewang opened this issue Sep 12, 2018 · 2 comments

Comments

@kingeaglewang
Copy link

Hello,

After I run mdns.destroy();

I would like to re-run the mdns after a button click event.

How to re-run the mdns flow ?

Thank for helping.

@mafintosh
Copy link
Owner

You should make a new instance. .destroy completely destroys the instance.

@kingeaglewang
Copy link
Author

I do as your README said.
mdns = multicastdns();

But it gets error
Uncaught ReferenceError: multicastdns is not defined

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

2 participants