TCP_NODELAY versus TCP_QUICKACK in a request/response exchange

A request/response protocol exchanges small messages in both directions over a single persistent TCP connection. The sender has set TCP_NODELAY. The receiver's default delayed-ACK behavior is untouched. Explain what TCP_QUICKACK controls that TCP_NODELAY does not, and why the sender's NODELAY setting alone may still not eliminate stalls.

main.cpp
int one = 1;
setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));
// No TCP_QUICKACK set on the peer's receiving socket.

22 of 45 in Networking