On partial writes, the final result was the number of bytes written by the last send() rather than the total.