Roland Mainz writes: > Well, it would still be _nice_ to have either |sendfile()| support for > all types of sockets and pipes in both directions to be consistent. The > current behaviour of Solaris 11/B37 was the reason that we dropped the > idea of using |sendfile()| for the /usr/bin/cat builtin in ksh93's > libcmd (the same works Ok on Linux and most other platforms which have > IPv6+|sendfile()|-support). > > Maybe a solution is to implement |sendfile()| in the kernel using a > generic kernel copysendfiledata() loop if special |sendfile()| is > missing for that type of socket/pipe...
Perhaps, but I see that as rather separate from the underlying issue that the original poster has. In other words, even if we did have a completely flexible any-to-any implementation of sendfile(), it's not clear that it's really the right answer for the application he has. It might help, but it seems a bit hackish to me. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ networking-discuss mailing list [email protected]
