Skip to contentSkip to conversation

Using sendfile() between sockets

DISCUSSION mark zhu 1 participant 1 message Sep 9, 2013

lore
Share & tools
lore

mark zhu

author
#0 lore raw

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