Re: "Streaming" data from kernel to userland



On Friday 19 January 2007 19:25, Ivan Voras wrote:
Daniel O'Connor wrote:
On Friday 19 January 2007 08:52, Ivan Voras wrote:
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()?

On a /dev/something? Nothing, I guess. I thought maybe there's something
more abstract (not visible in /dev), but it's not an issue.

An entry in /dev is pretty traditional for this sort of thing :)

--
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

Attachment: pgpYS62KIzemT.pgp
Description: PGP signature



Relevant Pages