java.io.IOException: read failed, socket might closed or timeout, read ret: -1
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Stack Overflow by Dilshad
, 1 year agovia GitHub by emwalters
, 2 years agovia xamarin.com by Unknown author, 2 years ago
via GitHub by dogmaphobic
, 1 year agovia Stack Overflow by Mansi Bhatt
, 1 year agovia Stack Overflow by HMdev
, 3 months agojava.io.IOException: read failed, socket might closed or timeout, read ret: -1
at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:573)
at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:584)
at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:321)
at com.mahmad.custompoc11aug.MainActivity$ConnectThread.run(MainActivity.java:164)