Re: sendmsg/recvmsg question

Alan Cox (
Wed, 12 Feb 1997 22:51:52 +0000 (GMT)

> sendmsg() returns 0 bytes sent, recvmsg() (of course) comes back with 0 bytes read.
> Is sendmsg() broken in the kernel (2.0.28) or in libc (5.4.17, the latest I could find)?
> The code is fairly short, if you want, I could post it.

Our handling of sendmsg with 0 bytes and control data is wrong. Send a byte
of data. This will be fixed in 2.1.x