|
From: | Stephen |
Subject: | Re: [Help-smalltalk] Re: closing a socket when using NetServer.st |
Date: | Wed, 31 Dec 2008 00:17:03 +1300 |
User-agent: | Thunderbird 2.0.0.18 (Macintosh/20081105) |
Can you try this patch? diff --git a/libgst/cint.c b/libgst/cint.c index 931aa86..f5e8451 100644 --- a/libgst/cint.c +++ b/libgst/cint.c @@ -269,7 +269,8 @@ get_errno (void) the primitive still fails and the file/socket is closed by the Smalltalk code. */ if (old == ESHUTDOWN || old == ECONNRESET - || old == ECONNABORTED || old == ENETRESET) + || old == ECONNABORTED || old == ENETRESET + || old == EPIPE) return 0; else return (old);
Well done, you got it. That did the trick and no errors now on the echo server or my script. Thanks Stephen
[Prev in Thread] | Current Thread | [Next in Thread] |