Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

read -1 Connection reset by peer?

843810Jan 13 2006
I am getting Connection reset by peer and I read this is normal behavior, but for me it is intermittent. Sometimes the read returns -1 and sometimes it returns Connection reset by peer. What is different about the two? ie. closing the far end is supposed to result in EOF(-1), but what results in Connection reset by peer?
thanks,
dean
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2006
Added on Jan 13 2006
0 comments
178 views