From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 19 01:19:14 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F41916A40F for ; Fri, 19 Jan 2007 01:19:14 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 24B5F13C474 for ; Fri, 19 Jan 2007 01:19:11 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp151-198.lns2.adl2.internode.on.net [121.44.151.198]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id l0J1IUZr045196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Jan 2007 11:48:35 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 19 Jan 2007 11:48:05 +1030 User-Agent: KMail/1.9.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2336169.rxOWq7VnaU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200701191148.14198.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 203.31.81.10 Cc: Ivan Voras Subject: Re: "Streaming" data from kernel to userland X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 01:19:14 -0000 --nextPart2336169.rxOWq7VnaU Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 19 January 2007 08:52, Ivan Voras wrote: > I'm thinking of doing something which would require streaming large > amounts of pretty much real-time data from kernel to a userland > application (for further processing). The first thing that comes to my > mind while thinking of this is sockets, so is there a sockets-like > interface which could be used to transfer large amounts of constantly > generated data from kernel to a userland application? Any advice on its > usage and/or examples? What's wrong with read()? =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2336169.rxOWq7VnaU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFsBxW5ZPcIHs/zowRAsZeAJ4jG4alv5Gc37yJEtHXBA7kd8t9sQCglfVO YzWVLLFdgrMrWaWrmJTmHxc= =Jo6W -----END PGP SIGNATURE----- --nextPart2336169.rxOWq7VnaU--