Re: Sendfile

From: Chemolli Francesco (USI) <ChemolliF@dont-contact.us>
Date: Tue, 5 Dec 2000 12:22:46 +0100

> Yes, sendfile() is a good thing. Perhaps not for the headers (since we
> don't store ready-to-blit objects) but for the object body
> its a definite
> win.

You could have a look at the sendfile emulation layer for
the Pike programming language. It allows to specify a preamble (char *),
an object to be moved and a callback to be invoked upon completion.

> Yes, its not portable outside linux. FreeBSD has a sendfile() but only
> does file -> socket transfers right now.

The same applies to Linux, as pointed out on the latest
kernel traffic digest:
http://kt.linuxcare.com/kernel-traffic/latest.epl#3

-- 
	/kinkie
Received on Tue Dec 05 2000 - 04:23:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:02 MST