Windows nonblocking write: do a byte at a time to know when buffer fills.