Wednesday, October 7, 2026
HomeiOS DevelopmentAndroid / iOS - Unhealthy state: Stream has already been listened to...

Android / iOS – Unhealthy state: Stream has already been listened to flutter

[ad_1]

I must retrieving file knowledge from Digital camera machine(IOT) by utilizing flutter TCP socket. I I had linked with totally different ports like command and knowledge ports.Initially socket linked with command port and it acquired to present some response then disconnecting command port and Reconnecting with Knowledge port and it reveals error of “Unhealthy state: Stream has already been listened to“. My pattern code as under, Please counsel methods to get file from digicam by way of flutter tcp sockets?

 'whereas (okay <= makes an attempt) {
  attempt {
    server = await Socket.join(_ipAddress, _portAddress,
        timeout: new Length(milliseconds: timeOut));
    break;
  } catch (Exception) {
    
  }
  okay++;
}'

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments