Antonio Ojea <antonio.ojea.garcia@xxxxxxxxx> wrote: > heh, I got bitten for that too, that is why I have > > echo PING >&3 && read line <&3 > > the moment that you read it from the fd, it does not come back to the > socket and you break the loop. AFAIU the read could happen before socat managed to read from the pipe (so nothing is sent over network). Or there could have been several writes over the network, not just 'exactly one write'.