Packing multiple writes into single TCP packet
I have a sequence of send() calls to write bytes to a TCP socket. Is it possible to force the socket to only send TCP packets when they are either full (exceeding the MTU) or I explicitly indicate that I’m done sequentially calling send()? Specifically, I have some code like: // these are user-provided, I