3 ms·
This can be accomplished with the TCP socket options TCP_CORK on Linux and TCP_NOPUSH on FreeBSD and OpenBSD. When enabled only full TCP frames are sent; upon d
by wahern 6y ago
This can be accomplished with the TCP socket options TCP_CORK on Linux and TCP_NOPUSH on FreeBSD and OpenBSD. When enabled only full TCP frames are sent; upon disabling any partial frame is immediately sent. See tcp(7) on Linux, tcp(4) on FreeBSD, and http://dotat.at/writing/nopush.html http://dotat.at/writing/nopush.html clarifying the behavior.
- Ono-Sendai 6y agoYeah, TCP_CORK would work but it's not an elegant solution IMO.