becvert / cordova-plugin-zeroconf

Cordova ZeroConf Plugin
MIT License
81 stars 57 forks source link

[Android] zeroconf.watch Error #45

Closed Dipayon3D closed 5 years ago

Dipayon3D commented 6 years ago

Hi . . .I am trying to use this plugin in an Android app, but whenever I start to watch for server, i get an error saying "Error: setsockopt failed: ENODEV (No such device)" . . . What does it mean and how to fix it ?? By the way, for the server part I'm using cordova-plugin-websocket-server . . . Thanks in advance.

becvert commented 6 years ago

did you solve this? is this related to wifi not enabled?

Dipayon3D commented 6 years ago

Not yet . . . I have been busy with other things lately . . . Will get back to it soon .

becvert commented 6 years ago

are you in Android AP Mode? https://github.com/jmdns/jmdns/issues/120?

becvert commented 6 years ago

Please upgrade to 1.2.8 and let me know if it's better

Dipayon3D commented 6 years ago

No . . . Not in Android AP mode . . . I'll try using 1.2.8 very soon . . . I'll be sure to let you know . . .

emcniece commented 6 years ago

@Dipayon3D also try disabling cellular data (https://github.com/jmdns/jmdns/issues/116)

becvert commented 5 years ago

Closing old issue. Feel free to reopen.