• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.net.socketException??  RSS feed

 
asheet anand
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone,
i'm working on a chat application.sometines my servergives this error
"java.net.socketException:connection reset by peer:JVM_recv in socket input stream read" and hangs...
could you please tell me all the possible reasons for it .
thanking you,
asheet
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I guess you are closing the connection on the Server end.. or on the client end.. if not then maybe you are writing more bytes on the Stream than allowed.. or maybe the crc is wrong.
Regds
Gautham Kasinath
 
asheet anand
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well gautam the problem is it does not happens every time but only some times.why is that so??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!