Using sendfile() between sockets

mark zhu mhz.dybf at gmail.com
Sun Sep 8 21:05:57 EDT 2013


Hi there,

Two splice() system calls are needed for splicing 2 sockets.
It is costly with respect to context switching. What would be
the reason for_not_  letting sendfile() support socket-to-socket
splicing if the offset argument is ignored?

Thanks,
Mark



More information about the Kernelnewbies mailing list