On Saturday, 28 May 2022 at 05:44:11 UTC, tchaloupka wrote:
On Friday, 27 May 2022 at 20:51:14 UTC, zoujiaqing wrote:
It means two separate syscalls for header and body. This alone have huge impact on the performance and if it can be avoided, it would be much better.
sendv/writev also can help to save syscals when you have to send data from non-contiguous buffers.
