Ilya Dryomov <idryomov@xxxxxxxxx> wrote: > > - int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; Btw, why are you setting MSG_DONTWAIT? If you're in the middle of transmitting a message on a TCP socket, surely you can't just switch to transmitting a different message on the same socket without doing some sort of reframing? David