From: karthikbalaguru on
On Feb 2, 6:43 am, karthikbalaguru <karthikbalagur...(a)gmail.com>
wrote:
> On Feb 2, 4:40 am, David Schwartz <dav...(a)webmaster.com> wrote:
>
> > On Jan 31, 7:15 pm, karthikbalaguru <karthikbalagur...(a)gmail.com>
> > wrote:
>
> > > Considering MSG_NOERROR
> > > is specified, how will the calling
> > > process know that the truncation
> > > has happened as only few of the
> > > messages are larger in my scenario ?
>
> > Say you were going to call with a 1,024 byte buffer. Simply call with
> > a 1,025 byte buffer instead. If you receive 1,025 bytes, then the
> > message was truncated.
>
> :-)
>

I think, this support for indicating
to the calling process about the
truncation of particular messages
should be added in msgrcv() .

Karthik Balaguru