WiFiFlutter
WiFiFlutter copied to clipboard
RawDatagramSocket.bind failed with error:"Machine is not on the network, errno = 64" when connect using this plugin.
it is simple issue. step 1: delete all saved profile in andriod phone. step 2: connect to ap with wifi_iot plugin step 3: try to bind any IP with RawDatagramSocket.bind.
Pass cases::
- when profile is saved it will work fine.
- when already connected it will work fine.
Checking :: in the logs i have seen the my phone is conencted to AP and also getting proper IP.
other info:: D:\DProgramFile\Android\AndroidStudioProjects\ctrlallhome>flutter --version Flutter 1.17.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 8af6b2f038 (9 weeks ago) • 2020-06-30 12:53:55 -0700 Engine • revision ee76268252 Tools • Dart 2.8.4
plugin version :: wifi_iot: ^0.1.1
platform :: physical andriod device ASUS Lazer 2 - Andriod 6.0.1
I faced the same issue. I don't explain why yet. But after requiring ACCESS_FINE_LOCATION, it works