The data transfer in a TCP/IP network is usually block-based. From a programmer’s point of view, sending data means issuing a series of “send data block” requests. On a system level, sending an ...
In a previous article, we explained how you can use the sendfile() syscall to reduce the overhead of data transfer from a disk to a network. Now, we’re going to cover another aspect of network ...