Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: