On Wed, 13 Aug 2003 21:43:41 +0530 (IST) Nagendra Singh Tomar <nagendra_tomar@adaptec.com> wrote: > So this means that this Zero Copy can only be used by senders who > have to send data from a "file" that supports mmap. No, a "file" that supports specifically sendfile(). > I just can't > fill a buffer in userland and expect it to be sent via Zero Copy. Sure you can, create a temporary file, mmap() it into your address space, use that mmap()'d area as a local buffer and use sendfile() on that file to send the data over the socket. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html