help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: Exception in the socket code


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Re: Exception in the socket code
Date: Sat, 26 Mar 2011 11:09:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9

On 03/25/2011 10:01 PM, Holger Hans Peter Freyther wrote:

> recvfrom(4, 0xb35bf7bc, 1024, 0, 0, 0)  = -1 ECONNRESET (Connection reset by 
> peer)
> 


okay, 945cca8737d716e2436aaa064c2c6aed02d34627 of 11th of August 2008
introduced the following to cint.c:get_errno():

if (old == ESHUTDOWN || old == ECONNRESET
    || old == ECONNABORTED || old == ENETRESET)
   return 0;


this explains why the connection refused is working but the connection reset
(due using tcpkill) will fail. The question is how to go forward? So somehow I
want to get a EndOfStream or a FileError.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]