3 ms·
Oh that is truly elegant, I didn't know about that. Basically you set the MSG_MORE flag when you call `send` if you know you will have more data to send very s
by sph 4y ago
Oh that is truly elegant, I didn't know about that.
Basically you set the MSG_MORE flag when you call `send` if you know you will have more data to send very soon, so the kernel is free to wait to form an optimally-sized packet instead of sending many small packets every time you run that syscall.