Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

how to determine broadcast IP? #25

Open
josh-m-sharpe opened this issue Feb 11, 2018 · 0 comments
Open

how to determine broadcast IP? #25

josh-m-sharpe opened this issue Feb 11, 2018 · 0 comments

Comments

@josh-m-sharpe
Copy link

It seems that if I manually get the current broadcast IP of my network (ifconfig etc...) and hardcode that into a call to send() https://developer.chrome.com/apps/sockets_udp#method-send then packets get delivered to all devices on the network - which is great.

How do I dynamically determine what the current broadcast IP address is from a cordova device (ios/android)?

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

No branches or pull requests

1 participant