-
Notifications
You must be signed in to change notification settings - Fork 24
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
not working from windows #4
Comments
No clue really... Some sort of firewall preventing outgoing UDP broadcasts? Maybe use wireshark to make sure windows actually sends a packet and it looks the same as on mac os? |
Hi guys! Apparently, the problem is the routing behaviour for the global broadcast address on Windows as the IP packets will only be propagated through the first network interface found. The following article describes the matter. Work-around: Set the "address" property to the broadcast address for your local network / the subnet. Here is an example which works for my setup.
EDIT: If you're not sure how to calculate the broadcast address see this article or simply use an online calculator |
Thanks @mwittig. This is really helpful. IP address and net mask are available at runtime using |
Yes, |
The sample code works perfectly fine from MacOS but is not running on Windows. any idea why?
same Node versions on both machines.
Regards,
Andrés.
The text was updated successfully, but these errors were encountered: