Re: CMSG_DATA(3): add an example for receiving mulitple control messages

2022-03-22 Thread David Gwynne
On Tue, Mar 22, 2022 at 09:12:23AM +0100, Claudio Jeker wrote: > On Tue, Mar 22, 2022 at 02:24:25PM +1000, David Gwynne wrote: > > i couldnt find any good examples of what to do when you wanted to > > receive multiple control messages from a single recvmsg call. the most > > interesting bit is how

Re: CMSG_DATA(3): add an example for receiving mulitple control messages

2022-03-22 Thread Claudio Jeker
On Tue, Mar 22, 2022 at 02:24:25PM +1000, David Gwynne wrote: > i couldnt find any good examples of what to do when you wanted to > receive multiple control messages from a single recvmsg call. the most > interesting bit is how much space the buffer needs to be. > > if i struggled maybe someone

CMSG_DATA(3): add an example for receiving mulitple control messages

2022-03-21 Thread David Gwynne
i couldnt find any good examples of what to do when you wanted to receive multiple control messages from a single recvmsg call. the most interesting bit is how much space the buffer needs to be. if i struggled maybe someone else will too? Index: CMSG_DATA.3