From owner-freebsd-hackers Tue Aug 1 16:51:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sigterm.aventail.com (sigterm.aventail.com [206.253.217.145]) by hub.freebsd.org (Postfix) with ESMTP id 33D0C37BF70 for ; Tue, 1 Aug 2000 16:51:16 -0700 (PDT) (envelope-from kmills@aventail.com) Received: from leo.in.aventail.com (leo.in.aventail.com [192.168.1.136]) by sigterm.aventail.com (8.10.2/8.10.2) with ESMTP id e71NpFj11127 for ; Tue, 1 Aug 2000 16:51:15 -0700 (PDT) Received: from voyager (exit.dmz.aventail.com [192.168.25.132]) by leo.in.aventail.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id P5G78TDR; Tue, 1 Aug 2000 16:49:46 -0700 From: "Kevin Mills" To: "FreeBSD Hackers" Subject: aio_waitcomplete? Date: Tue, 1 Aug 2000 16:52:48 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In order to get familiar with aio_waitcomplete() and friends, I wrote a simple echo server and have run into problems. If I attempt to hit my echo server with more than a few clients (> 3 or 4), I get a bunch of ENOTCONN errors from aio_waitcomplete() and on the client end I get an ECONNRESET and a 'Broken pipe'. To ensure I wasn't completely crazy, I wrote the same echo server using poll() and non-blocking sockets and it works without error. Is aio_waitcomplete() ready for prime-time? Should this work? I'm using 4.0-stable from 7/13/2000: 4.0-STABLE FreeBSD 4.0-STABLE #2: Thu Jul 13 16:07:07 PDT 2000 Thanks for any assistance! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message