Hi, > if (ret <= 0) { > if (errno == EPIPE) > return False; > } else > nwritten += ret; > } I think we should also exit the loop if errno != EPIPE, as the current version might introduce an endless loop. Roland