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 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!news3.google.com!news.glorb.com!newsfeed.stueberl.de!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: "broken pipe" while reading/writing stream-based sockets Date: Wed, 11 May 2005 22:18:05 +0100 Organization: Pushface Message-ID: References: <1115766179.505983.40960@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1115846285 9542 62.49.19.209 (11 May 2005 21:18:05 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 11 May 2005 21:18:05 +0000 (UTC) Cancel-Lock: sha1:fa4N8wLmC/D8dSfbY1t6zTuzvoU= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:11002 Date: 2005-05-11T22:18:05+01:00 List-Id: "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