flushed = (!socket.hasBufferedData);