Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Connection reset by peer: socket write error

Reply
Thread Tools

Connection reset by peer: socket write error

 
 
David Klemitz
Guest
Posts: n/a
 
      07-03-2003
Hi Folks,

well I have found the reason for the above error by a process of
elimination but do not really understand what to do to handle the
problem gracefully.

Basically, the error became present when I had a client ( IE 5
browser) and server on the same machine. When I accessed the server
from another client (Mozilla) on the same network, the problem
disappeared. So it seems the further away the client is from the
server, the better.

Message 6 of 7 in the enclosed URL seems to provide a programatic
solution to this problem, though I am not that close to this aspect of
client-server computing. Any general comments and references in this
regard would be appreciated

http://tinyurl.com/fx1y

regards

David Klemitz
 
Reply With Quote
 
 
 
 
EJP
Guest
Posts: n/a
 
      07-04-2003


David Klemitz wrote:
>
> Hi Folks,
>
> well I have found the reason for the above error by a process of
> elimination but do not really understand what to do to handle the
> problem gracefully.
>
> Basically, the error became present when I had a client ( IE 5
> browser) and server on the same machine. When I accessed the server
> from another client (Mozilla) on the same network, the problem
> disappeared. So it seems the further away the client is from the
> server, the better.


I think the answer is the switch from MS to non-MS code. I believe that
MS browsers have a nasty habit of resetting socket connections instead
of closing them.

EJP
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: socket.unbind or socket.unlisten? - socket.error: (48, 'Addressalready in use') Steve Holden Python 0 02-01-2009 12:45 PM
Re: socket.unbind or socket.unlisten? - socket.error: (48, 'Addressalready in use') Laszlo Nagy Python 0 02-01-2009 07:37 AM
socket.unbind or socket.unlisten? - socket.error: (48, 'Addressalready in use') Laszlo Nagy Python 1 01-27-2009 05:05 PM
Re: socket.unbind or socket.unlisten? - socket.error: (48,'Address already in use') Jean-Paul Calderone Python 0 01-27-2009 01:41 PM
Hang on socket close after connection reset or connection timed out Helene Unterwieser Java 14 07-02-2007 11:27 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57