Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

"Connection reset" problem NOT "Connection reset by peer"  RSS feed

san jan
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get this problem " Connection reset"
We are using socket pooling. Ours is a web application that internally connects to a legacy application through sockets.
This happens if we login to a page and keep it like that for 1 day and then retry to opertae something. i.e., the sockets are kep[t idle for a day and are tried to be used. it gives error while reading not while writing.
And is this different from "connection reset by peer" if so how much different?
If it is connection reset by peer then probably we can use 'setKeepAlive()' but I donot see it as like that, since the socket is not closed and we are able to write but the problem comes at the time of reading.
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!