From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8f6dc5bfebaf357f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "fabio de francesco" Newsgroups: comp.lang.ada Subject: Re: "broken pipe" while reading/writing stream-based sockets Date: 11 May 2005 16:30:30 -0700 Organization: http://groups.google.com Message-ID: <1115854230.047009.28510@f14g2000cwb.googlegroups.com> References: <1115766179.505983.40960@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: 80.181.51.89 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1115854235 17193 127.0.0.1 (11 May 2005 23:30:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 May 2005 23:30:35 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=80.181.51.89; posting-account=Lp02jQ0AAABMd3TAghNf0TM2YBZqD_JE Xref: g2news1.google.com comp.lang.ada:11004 Date: 2005-05-11T16:30:30-07:00 List-Id: Simon Wright wrote: > "fabio de francesco" writes: > > > I usually test the server this way: > > > > $ ./tcp_client abc & ./tcp_client def & ./tcp_client xyz & ./tcp_client > > kill > > > > 1) Why does this server sometimes crash with "Broken Pipe"? > > Just now I replaced your 'kill' above with 'lmn' and ran it 25 times > with no errors -- GCC 4.0.0 on Darwin 7.9.0 > > --S I compiled the program with GCC 3.4.1 on Linux 2.6.11.5. It continues to report the same error. I'm going to bootstrap a brand new GCC 4.0 and then I try again. fabio de francesco