Thursday, April 08, 2010

Zero Copy I: User-Mode Perspective | Linux Journal

Zero Copy I: User-Mode Perspective | Linux Journal:
"In kernel version 2.1, the sendfile system call was introduced to simplify the transmission of data over the network and between two local files. Introduction of sendfile not only reduces data copying, it also reduces context switches. Use it like this:

sendfile(socket, file, len);"