Solaris has system call sys_sendfile()/sys_sendfilev(), which can use for sending file directly from page cache to NIC buffer,so don't need copy data to user space . But why not implement similar system call recvfile() like sendfile() use for receive file? Is it because something would have to analyse each packet header before the data was transferred from the network card, to decide where the data should go? So we still need to use read()/recv()//wrtie() to receive file? that need to copy data between kernel space and user space This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
