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

published ip address not change when I switch network #55

Open
leslie-wang opened this issue Apr 24, 2019 · 4 comments
Open

published ip address not change when I switch network #55

leslie-wang opened this issue Apr 24, 2019 · 4 comments

Comments

@leslie-wang
Copy link
Contributor

One mdns daemon service published ip address 10.240.138.74, which is its current ip address. like the screen shot
Screen Shot 2019-04-23 at 11 14 19 PM

After switch over network, its ip has changed to 10.0.1.2, but published ip address is still 10.240.138.74
Screen Shot 2019-04-23 at 10 59 58 PM

@tmm1
Copy link
Contributor

tmm1 commented Apr 24, 2019

One option is to listen for network interface changes (https://stackoverflow.com/a/50220033/332798) and then refresh/reload the mdns service.

@leslie-wang
Copy link
Contributor Author

Yes, that is what I'm going to do before zeroconf solves it. I guess RTNETLINK socket is not supported in windows now. Anyway, I'll try. Thanks for pointing the link.

@grandcat grandcat added this to Ideas in Future Releases Apr 25, 2019
@leslie-wang
Copy link
Contributor Author

@tmm1 do you have any good idea to listen for network interface change at windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants