-
This avoids a case where we read data, then write to the server and only then realize the connection was closed. It is somewhat slower, though.
This avoids a case where we read data, then write to the server and only then realize the connection was closed. It is somewhat slower, though.