"Connection reset by peer: socket write error" and "Software caused connection abort"
The file's size which I'm transferring is 96MB.
(clientSocket is SSLSocket)
Error on Server:
Error on Client:
What could cause this problem to occur?
Thanks in advanced.
Dave Tolls wrote:This looks like your Android client is timing out.
You can find the timeout setting for our Socket using the getSoTimeout() method and compare that to how long your download is taking.
Thanks for replying.
My socket has already a timeout for his connection (7 seconds), but it still does not help.
Dave Tolls wrote:How quickly does this timeout then?
Have you timed it (via logging possibly) from the opening of the connection in Activity_1 to the time out exception?
I set the Timeout at the beginning before I'm connecting to the socket.
I'm sorry for this inconvenience, but I don't know how to check how quickly will it timeout.