HB Studios interview question

Using Windows Sockets 2 (winsock), show the C++ code required to create a TCP socket, and disable the Nagle algorithm.