What sendfile() actually avoids copying

A file server needs to send the contents of a large file on disk out over a TCP socket. Contrast a naive read()+send() loop with using sendfile(out_fd, in_fd, ...). What copy, specifically, does sendfile() eliminate?

15 of 45 in Networking