On Thu, Nov 24, 2011 at 12:17 PM, Nick Wellnhofer <[email protected]> wrote: >> bloody $sock->write doesn't return number of bytes written (like C), but >> 1... > > $sock->write uses print internally, which should take care of partial > writes. I think it's safe to assume that all bytes are written to the > socket.
Thanks, yes, I eventually found out about that little detail. I've disabled the post-write() confess checks on both ends, and it looks more promising.
