WiFiFlutter icon indicating copy to clipboard operation
WiFiFlutter copied to clipboard

RawDatagramSocket.bind failed with error:"Machine is not on the network, errno = 64" when connect using this plugin.

Open singhabhijeet13 opened this issue 4 years ago • 1 comments

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::

  1. when profile is saved it will work fine.
  2. 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

singhabhijeet13 avatar Sep 03 '20 15:09 singhabhijeet13

I faced the same issue. I don't explain why yet. But after requiring ACCESS_FINE_LOCATION, it works

AlBlanc avatar Oct 21 '21 12:10 AlBlanc