[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]
