The peer closed the connection while you were writing to it. That usually means you sent it something it didn’t understand. Is it perhaps an HTTP server? Or some other protocol that you haven’t implemented in your client code?
More Related Contents:
- java.net.SocketException: Connection reset
- What’s causing my java.net.SocketException: Connection reset? [duplicate]
- Bluetooth Connection failed “java.io.IOException: read failed, socket might closed or timeout, read ret: -1”
- Sending and receiving files on socket
- Using Sockets to send and receive data
- How Can I Access an SSL Connection Through Android?
- Java socket IOException – permission denied
- The constructor JSONArray(Object[]) is undefined
- android studio : findViewById return NULL Pointer [duplicate]
- View’s getWidth() and getHeight() returns 0
- Checking if a particular value exists in the Firebase database
- Android RecyclerView addition & removal of items
- How to convert a color integer to a hex String in Android?
- How to return an array from JNI to Java?
- How does Activity.finish() work in Android?
- Android Studio Error: Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you’re running
- Android/Java — Post simple text to Facebook wall?
- Android search with Fragments
- Why is accessing TextView of a Fragment inside Activity throwing an error
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) – PhoneGap
- Difference between ActionBarSherlock and ActionBar Compatibility
- Android – How to create clickable listview?
- Sending a message to all clients (Client – Server communication)
- Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work
- How to set focus on a view when a layout is created and displayed?
- Java TCP socket: data transfer is slow
- Draw transparent circle filled outside
- Values of counter changes after scrolling ExpendableListView
- Android Google Maps Failed to find style ‘mapViewStyle’ in current theme
- Android Studio Error “Unsupported class file major version 61”