From owner-freebsd-net@FreeBSD.ORG Mon Oct 18 21:38:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD14A16A4CE for ; Mon, 18 Oct 2004 21:38:59 +0000 (GMT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50D2A43D4C for ; Mon, 18 Oct 2004 21:38:59 +0000 (GMT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id i9ILcvqw095285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Mon, 18 Oct 2004 17:38:58 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id i9ILcvmG095282; Mon, 18 Oct 2004 17:38:57 -0400 (EDT) (envelope-from wollman) Date: Mon, 18 Oct 2004 17:38:57 -0400 (EDT) From: Garrett Wollman Message-Id: <200410182138.i9ILcvmG095282@khavrinen.lcs.mit.edu> To: "Ronald F. Guilmette" In-Reply-To: <49035.1098044385@monkeys.com> References: <49035.1098044385@monkeys.com> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: freebsd-net@FreeBSD.ORG Subject: aio_connect ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 21:38:59 -0000 < said: > I'm sitting here looking at that man pages for aio_read and aio_write, > and the question occurs to me: ``Home come there is no such thing as > an aio_connect function?'' Mostly because there is no need, since connect() doesn't transfer any data; it just establishes a connection. If the socket is put in non-blocking mode, connect() will take place in the background. -GAWollman