Date: Wed, 19 Jul 2006 22:30:14 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: net@freebsd.org Cc: dg@dglawrence.com Subject: complement to sendfile()? Message-ID: <200607192230.14939.mi%2Bmx@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
Hello! My program receives data from the socket and writes it to a file -- with the usual read()/write() tedium. Is there anything zero-copying like sendfile() for the socket->file direction? In fact, sendfile's API may allow to use it in any direction, but the manual is quite explicit, that the second (destination) argument must be socket. recvfile()? Thanks! -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607192230.14939.mi%2Bmx>