lkml.org 
[lkml]   [1998]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] Is sendmsg without data but with cmsg OK?
Date
> 	Not sure that I understood you right. Actually I found that
> kuldge/feature/whatever when I wrote a testcase for bug in FreeBSD garbage
> collector[1]. *BSD (at least FreeBSD and SunOS) allow sending such
> messages.

Irix doesnt, quite a few sys5 ones dont.

> Do you mean that by portability reasons we should keep that as is,
> maybe adding some flamage on return?

I mean apps should pass a byte of data anyway

> Hmm... I'll look through the code - probably the best thing to do would be
> to postpone cmsgs till the next nonempty message / end of connection. What
> do you think about that variant?

Still unpleasant. Suppose the pass expects a reply. Basically 0 length
things to SOCK_STREAM = trouble in BSD socket API's.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:1.823 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site