Under load on Windows Vista it is possible that the AsynchronousSocketChannel#write completes with the wrong number of bytes on a loopback connection. Specifically, the completed method can be invoked with the number of bytes written as 0 or with a value that is larger than the buffer's remaining bytes at the time that the I/O was initiated.